Skip to content

Instantly share code, notes, and snippets.

@woods
Created August 15, 2009 13:34
Show Gist options
  • Save woods/168352 to your computer and use it in GitHub Desktop.
Save woods/168352 to your computer and use it in GitHub Desktop.
# Set up a global git ignore file in ~/.gitignore . Copy and paste these commands into a terminal.
echo '.DS_Store' >> ~/.gitignore
git config --global core.excludesfile ~/.gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment