Skip to content

Instantly share code, notes, and snippets.

@xkrsz
Last active July 26, 2017 08:59
Show Gist options
  • Save xkrsz/65c0effbbab4b605fb334a248bbaae61 to your computer and use it in GitHub Desktop.
Save xkrsz/65c0effbbab4b605fb334a248bbaae61 to your computer and use it in GitHub Desktop.
Global gitignore for mac users, just paste it in the terminal
git config --global core.excludesfile ~/.gitignore_global && echo "*~\n.idea\n# OS generated files #\n######################\n.DS_Store\n.DS_Store?\n._*\n.Spotlight-V100\n.Trashes\nehthumbs.db\nThumbs.db" > ~/.gitignore_global
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment