Jitendra Rajput
Jitendra Rajput

Reputation: 75

Git Ignore tracked files

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

Answers (1)

Harald Nordgren
Harald Nordgren

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

Related Questions