Last active
December 27, 2015 03:19
-
-
Save gevans/7258155 to your computer and use it in GitHub Desktop.
Use a global gitignore. They're super helpful in avoiding redundancy (e.g. ignoring .DS_Store in every freaking project ever).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# OSX | |
## | |
.DS_Store | |
# Thumbnails | |
._* | |
# Files that might appear on external disk | |
.Spotlight-V100 | |
.Trashes | |
## | |
# Tools & Software | |
## | |
# SublimeText project files | |
/*.sublime-project | |
# Vim | |
.*.sw[a-z] | |
*.un~ | |
Session.vim |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
curl https://gist.github.com/gevans/7258155/raw/68f2dc519e3e50251683c42efa5303ba8ec80948/.gitignore > $HOME/.gitignore | |
git config --global core.excludesfile $HOME/.gitignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment