Issue
Is there any command to skip initializing a Git Repository
during angular 6 project creation
I am using ng new [name]
command to create angular 6 project. by default it is adding git repository.
ng new [name]
Solution
Updated answer:
Use --skip-git
argument instead of deprecated --skipGit
.
Old answer: You can use --skipGit
argument.
From docs:
–skipGit=true|false
When true, does not initialize a git repository.
Default: false
Aliases: -g