Skip to content

Instantly share code, notes, and snippets.

@dannyow
Created October 4, 2012 10:39
Show Gist options
  • Save dannyow/3832878 to your computer and use it in GitHub Desktop.
Save dannyow/3832878 to your computer and use it in GitHub Desktop.
To add this file as a global ignore list - git config --global core.excludesfile ~/.gitignore_global
# From https://github.com/mt3/dotfiles/blob/master/.gitignore_global
# To add this file as a global ignore list - git config --global core.excludesfile ~/.gitignore_global
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Logs and databases #
######################
*.log
*.sql
*.sqlite
# Backupd Crap #
################
*.swp
# OS generated files #
######################
.DS_Store?
ehthumbs.db
Icon?
Thumbs.db
# Python #
######################
*.sock*
*.pyo
*.pyc
*.crash
*.so
*.o
setuptools-*.egg
* copy.*
._*
*.egg-info
# Xcode #
######################
*.xcodeproj/*.pbxuser
*.xcodeproj/*.perspective*
*.xcodeproj/*.mode1*
*/*.xcodeproj/*.pbxuser
*/*.xcodeproj/*.perspective*
*/*.xcodeproj/*.mode1*
*/*/*.xcodeproj/*.pbxuser
*/*/*.xcodeproj/*.perspective*
*/*/*.xcodeproj/*.mode1*
xcuserdata
xcuserdata/*.xcuserdatad*
*/xcuserdata/*.xcuserdatad*
*.mode1v3
*.mode2v3
# directories (stolen from gary bernhardt) #
##################################
/Desktop
/Documents
/Downloads
/Dropbox
/Movies
/Music
/Pictures
/Public
/Sites
/.fontconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment