Skip to content

Instantly share code, notes, and snippets.

@nojacko
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nojacko/9e74037c6866694515d3 to your computer and use it in GitHub Desktop.
Save nojacko/9e74037c6866694515d3 to your computer and use it in GitHub Desktop.
Global Gitignore
# Save this file to ~/.gitignore_global
# Run: git config --global core.excludesfile ~/.gitignore_global
#############################################################################
# OSX: https://github.com/github/gitignore/blob/master/Global/OSX.gitignore #
#############################################################################
*~
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear on external disk
.Spotlight-V100
.Trashes
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
#####################################################################################
# Windows: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore #
#####################################################################################
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msm
*.msp
# Windows shortcuts
*.lnk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment