Skip to content

Instantly share code, notes, and snippets.

@miles
Created December 7, 2010 19:38
Show Gist options
  • Save miles/732294 to your computer and use it in GitHub Desktop.
Save miles/732294 to your computer and use it in GitHub Desktop.
augmented .gitignore file from Rails Tutorial
.bundle
db/*.sqlite3*
log/*.log
*.log
tmp/**/*
tmp/*
Gemfile.lock
doc/api
doc/app
*.swp
*~
.DS_Store
@kotp
Copy link

kotp commented May 6, 2012

Look at line 2? It isn't magic though, just whatever files you want to ignore, place the file name or the glob in there.

@theSimplex
Copy link

You definitely don't want to ignore Gemfile.lock file cause you need it in git for pushing to heroku

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