Skip to content

Instantly share code, notes, and snippets.

@rodw
Created June 27, 2012 19:49
Show Gist options
  • Save rodw/3006349 to your computer and use it in GitHub Desktop.
Save rodw/3006349 to your computer and use it in GitHub Desktop.
A General Purpose .gitignore file
######################################################################
# derived from https://gist.github.com/3006349
######################################################################
# also see https://github.com/github/gitignore
######################################################################
## STUFF TO CUSTOMIZE - you probably don't want all of these.
######################################################################
## node.js
node_modules
lib-cov
## coffeescript
lib/*.js
test/*.js
## ruby
*.gem
*.rbc
.bundle
.config
## archives and compressed files
*.7z
*.jar
*.rar
*.zip
*.gz
*.bzip
*.xz
*.lzma
*.tar
*.tgz
*.tar.gz
*.iso
*.dmg
*.xpi
*.gem
*.egg
*.deb
*.rpm
######################################################################
## TRULY GENERIC - these are probably OK as is
######################################################################
## common temp file patterns
*~
*.*~
.#*
\#*#
.*.sw[a-z]
## editors and ides
### emacs
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
.elc
auto-save-list
tramp
.\#*
### vim
*.un~
Session.vim
## os-specific noise files
### linux flavors
.directory
### osx
.DS_Store
._*
.Spotlight-V100
.Trashes
### windows
Desktop.ini
$RECYCLE.BIN/
Thumbs.db
## commonly used temp files and directories
*.log
*.pid
log
logs
tmp
temp
## tags, gtags, etags, ctags
GPATH
GRTAGS
GSYMS
GTAGS
TAGS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment