Created
December 7, 2010 19:38
-
-
Save miles/732294 to your computer and use it in GitHub Desktop.
augmented .gitignore file from Rails Tutorial
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.bundle | |
db/*.sqlite3* | |
log/*.log | |
*.log | |
tmp/**/* | |
tmp/* | |
Gemfile.lock | |
doc/api | |
doc/app | |
*.swp | |
*~ | |
.DS_Store |
what for sql database file as I am planning to use MySQL at the backend.
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.
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
For vi, you may want to ignore *.swo files as well.