Skip to content

When creating a new project, initialize a git repository #5467

@rigor789

Description

@rigor789

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

Majority of projects are managed using git - it's frustrating to have to init a git repo whenever creating a new project.

Describe the solution you'd like

When running ns create a fresh project should initialize a new git repository (git init) and commit the initial files. (git commit -m "Initialize new project").

Describe alternatives you've considered

N/A

Additional context

The git repository would not have a remote - this is up to the users to add.
A couple benefits of doing the init & initial commit:

  • when creating a new project to reproduce an issue, it's clear what changes have been made, since the initial commit is coming from the template & subsequent commits are part of the repro.
  • pushing a project to a new git repo is simpler
  • less commands to run for any new project
  • git is ❤️

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions