In Angular CLI (2^), I want to automatically generate component and add to git , how to achieve that knowing that I have to add every generated component manually ( using IDE or CMD) ?
Asked
Active
Viewed 367 times
1
-
Possible duplicate of [Difference between "git add -A" and "git add ."](https://stackoverflow.com/questions/572549/difference-between-git-add-a-and-git-add) – Reactgular Jun 05 '19 at 20:17
-
I want to add generated files with " ng g c components" to git automatically with the same command. – Slimane Deb Jun 05 '19 at 21:43
-
1I also search for this opportunity – Артур Гудиев Sep 22 '21 at 13:13
-
@АртурГудиев I remember there was a dialog asking me to add newly generated files to git for the current project. Try to update your IDE to latest versions. Cheers – Slimane Deb Sep 27 '21 at 11:28
1 Answers
0
IntelliJ IDE which I am using now detects all new added files and suggest to add them to git.

Slimane Deb
- 183
- 2
- 12