Skip to content

Instantly share code, notes, and snippets.

@sanemat
Created April 27, 2011 11:04
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sanemat/944064 to your computer and use it in GitHub Desktop.
Save sanemat/944064 to your computer and use it in GitHub Desktop.
Configure file of git ignore on system wide
echo ".DS_Store" >> ~/.gitignore-system
git config --global core.excludesfile ~/.gitignore-system
@sanemat
Copy link
Author

sanemat commented Jun 1, 2011

git config --global core.excludesfile ~/dotfiles/.gitignore-system

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment