I am working in a team environment, and there is already a .gitignore file.
I want to add more items to the .gitignore file, but I don\'t w
Like Fred Frodo said, you can put your private exclude rules in the .git/info/exclude of the repository.
If you want to apply the same exclude rules to all the repositories on your machine, you can add the following to the .gitconfig file in your user directory.
[core]
excludesfile = /home//.gitexclude
Then add your exclude patterns to ~/.gitexclude.