Skip to content

[Issue] Improvement - add optional initial commit to azd init #1553

Open

Description

Output from azd version

azd version 0.6.0-beta.2 (commit c4a201e)

Output from az version

n/a - not relevant for my scenario

Describe the bug

I think the addition of git init to the azd init flow can be further improved by adding two optional steps in the interactive user input during the azd init flow:

  • "Should an initial commit be made ?" (default: no)
  • If a commit should be made: "Enter your commit message" (default "initial commit")

To Reproduce

  • Execute azd init and reference a template
  • git init gets executed

Result is: you have depending on the template more than 100 files in your uncommitted changes. As the template is a starting point for further development, it might make sense to give the user the option to create the initial commit during the setup.

Expected behavior

Two optional steps in the interactive user input during the azd init flow:

  • "Should an initial commit be made ?" (default: no)
  • If a commit should be made: "Enter your commit message" (default "initial commit")

Environment

n/a

Additional context

n/a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions