Skip to content

Add git init step #629

Open
Open
@jcandan

Description

@jcandan

Is your feature request related to a problem? Please describe.

To run a CodeRoad tutorial, the documentation instructs you to open an empty project.

If the folder already contains a .git/ directory, the tutorial errors after hitting Start.

If you forget to git init, the tutorial will silently fail.

Describe the solution you'd like

We could either:

  • Update documentation to account for the need to run git init in the steps leading up to running a tutorial.
  • Allow .git/ directory to exist when opening an empty folder.
  • Automatically check whether git is instantiated in a folder and run git init if it is not.

Describe alternatives you've considered

TBD

Additional context

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions