Skip to content

Instantly share code, notes, and snippets.

@jezreljane
Forked from rstacruz/.0.md
Created July 15, 2012 18:43
Show Gist options
  • Save jezreljane/3118100 to your computer and use it in GitHub Desktop.
Save jezreljane/3118100 to your computer and use it in GitHub Desktop.

Stop littering your gitignores

Do yourself a favor and put one of these in your machine.

# Save this as ~/.global_gitignore, then:
# git config --global core.excludesfile ~/.global_gitignore
# OS crap
Thumbs.db
.DS_Store
Icon?
# Swap files for text editors
.*.sw[a-z]
*~
# Temp files
.sass-cache
tmp/
# RVM config files
.rvmrc
.rvmrc.*
# Built gems
*.gem
# Capybara's save_and_open_page
capybara-*.html
# Garbage I like to litter around
/TODO.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment