Can I make a user-specific gitignore file?

You can create your own .gitignore using

git config --global core.excludesfile $HOME/.gitignore

Then put your desired entries in that file.

Leave a Comment