Reputation: 75
If any directory is ignored through .gitignore
that contains a few important files that are committed to repository but also contains some unwanted temp files which are generated.
What will happen if important file is modified, will this file be ignored by git?
Upvotes: 2
Views: 387
Reputation: 12439
File already tracked in Git are not affected by .gitignore
.
Any changes to tracked files will show up in git status
.
Upvotes: 1