Skip to content

Instantly share code, notes, and snippets.

@samuelsmal
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samuelsmal/84dc0009c5dd42636368 to your computer and use it in GitHub Desktop.
Save samuelsmal/84dc0009c5dd42636368 to your computer and use it in GitHub Desktop.
git exclude
git config --global core.excludesfile ~/.gitignore_global
Now you can put your global ignores in ~/.gitignore_global.
I just use .git/info/exclude for project specific stuff I want to ignore that only I would have.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment