Skip to content

Instantly share code, notes, and snippets.

@zph
Created September 2, 2014 18:12
Show Gist options
  • Select an option

  • Save zph/c803154d4c6006ee2cff to your computer and use it in GitHub Desktop.

Select an option

Save zph/c803154d4c6006ee2cff to your computer and use it in GitHub Desktop.
# 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
#
# # OS generated files #
# ######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db
coverage.vim
# Bundle location
vendor/*
# Backup files from editors
## Vim
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist
*~
## Emacs
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*
# Tag files
doc/tags
tags
.envrc
.bundle
.repl_rake.rb
@zph

zph commented Sep 2, 2014

Copy link
Copy Markdown
Author

Add the following in ~/.gitconfig:

[core]
  excludesfile = ~/.gitignore_global

The add the above file (~/.gitignore_global) to your filesystem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment