< Back To Home

Creating a Global git ignore

Updated at December 27, 2019

I didn’t want to change every .gitignore for each project that I worked on at my company. I found this little trick.

cat TODOs.org >  ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
Avatar of Author

Evan Dancer

Engineering guy who wrote this.