Skip to content

Instantly share code, notes, and snippets.

@sandyxu
Created November 14, 2013 10:03
Show Gist options
  • Save sandyxu/7464358 to your computer and use it in GitHub Desktop.
Save sandyxu/7464358 to your computer and use it in GitHub Desktop.
git ignore file
# See http://help.github.com/ignore-files/ for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile ~/.gitignore_global
# Ignore bundler config
/.bundle
# Ignore the default SQLite database.
/db/*.sqlite3
# Ignore all logfiles and tempfiles.
/log/*.log
/tmp
# Ignore netbeans project directory.
nbproject/
# Ignore dont want to commit.
Gemfile.lock
config/platform/gree.yml
db/schema.rb
vendor/cache/
.rsync_cache/
*.swp
*.swo
*.rdb
.bundle/config
.tags
.DS_Store
# Ignore sassc, sass cahced files.
*.sassc
.sass-cache/
config/platform/gree.yml
config/database.yml
# 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
ehthumbs.db
Thumbs.db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment