Skip to content

Instantly share code, notes, and snippets.

@barenko
Created September 15, 2011 19:25
Show Gist options
  • Save barenko/1220223 to your computer and use it in GitHub Desktop.
Save barenko/1220223 to your computer and use it in GitHub Desktop.
General .gitignore template
###################
#.gitignore #
###################
###################
# 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
############
# SO files #
############
.DS_Store
ehthumbs.db
Icon?
Thumbs.db
#############
# log files #
#############
log/**/*
*.log
*.sqlite
###################
# temporary files #
###################
tmp/**/*
*.tmp
*.temp
##############
# ruby files #
##############
*.gem
*.rbc
.bundle
.config
coverage
InstalledFiles
lib/bundler/man
pkg
rdoc
spec/reports
test/tmp
test/version_tmp
tmp
##################
# YARD artifacts #
##################
.yardoc
_yardoc
doc/
###############
# rails files #
###############
*.rbc
*.sassc
.sass-cache
capybara-*.html
.rspec
/.bundle
/vendor/bundle
/log/*
/tmp/*
/db/*.sqlite3
/public/system/*
/coverage/
/spec/tmp/*
**.orig
config/*.yml
rerun.txt
pickle-email-*.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment