< Back To Home

Creating a Global git ignore

Published 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.

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

Evan Dancer

Engineering guy who wrote this.

Evan Dancer

Evan Dancer

Founder of Hailey.
Previously, at Apartment List.
Before, I started Cribspot (YC W15).
I've been running a lot recently.