Reputation: 113
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]
Upvotes: 9
Views: 13079
Reputation: 4959
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
Official docs - See Arguments section.
Upvotes: 17
Reputation: 734
ng new --help
ng new my-app --skip-git
Upvotes: 6