When would you use .git/info/exclude instead of .gitignore to exclude files?

I am a bit confused about the pros and cons of using .git/info/exclude and .gitignore to exclude files.

Both of them are at the level of the repository/project, so how do they differ and when should we use .git/info/exclude ?

4 Answers
4

Leave a Comment