Skip to content

Instantly share code, notes, and snippets.

@magnusottosson
Created January 6, 2012 21:38
Show Gist options
  • Save magnusottosson/1572514 to your computer and use it in GitHub Desktop.
Save magnusottosson/1572514 to your computer and use it in GitHub Desktop.
Add .DS_Store to the git exclusion list
#!/bin/bash
git config --global core.excludesfile ~/.gitignore
echo .DS_Store >> ~/.gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment