Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

should .angular be in gitignore

I recently upgraded Angular from v12 to v14 using the ng update command and did the required modifications manually. The command added a .angular folder with a cache library that seems huge:

enter image description here

But it didn't add the cache folder to .gitignore.

Should I add .angular to my .gitignore?

like image 884
Lorraine R. Avatar asked Dec 06 '25 22:12

Lorraine R.


1 Answers

Yes, after researching and repeating the process, the answer is yes, /.angular/cache should be added to .gitignore in Angular 14.

like image 122
Lorraine R. Avatar answered Dec 09 '25 16:12

Lorraine R.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!