Skip to content

Git Repo Creation Should Be Opt-In: --skip-git #4854

Closed
@majew7

Description

@majew7

OSX El Capitan v10.11.6

CLI: v1.0.0-beta.32.3

Repro steps

  1. I ran ng new my-app inside a directory inside my Mercurial repo.
  2. I observed many files in .git folder.

I had no expectation by running ng new my-app that a Git Repo would be created too. This command did something I didn't expect. I was highly confused; no documentation told me this would occur.

Suggestion A: This feature may be helpful for some, but not all. Make the feature OPT-IN, not OPT-OUT.

Suggestion B: Let the new command ask, via a workflow if a Git Repo is desired.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions