Created
August 21, 2012 20:08
-
-
Save papricek/3418963 to your computer and use it in GitHub Desktop.
Sample .gitignore file for kinda typical rails app
This file contains 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
# What are .gitignore files for? Well, not everything should be stored in a repo. | |
# Typically your IDE files, log files, or database related stuff (like paperclip attachments in public/system) | |
.DS_Store # because Mac file system | |
/.rvmrc # when you have .rvmrc file with default rails and gemset | |
/.idea # RubyMine project stuff | |
/.bundle # Bundler temp stuff | |
/db/*.sqlite3 # DB file, when using sqlite | |
/config/database.yml # db config - this is probably the only line here, that not including is both bad practice and dangerous | |
/log/*.log # wanna store gigabytes of logs in repo? c'mon... | |
/tmp # yeah, cache, pid files,... dont store that, too! | |
/db/schema.rb # if more branches and more developers are on this project - conflicts are not fun | |
/public/system # default public shared stuff folder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment