What is a good .gitignore to use with Rails on Heroku?
*.log
*.sqlite3
what else?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is pretty similar to: Rails: exclude anything from version control? Here is my answer from that.
DHH just posted on Twitter that there will be a default .gitignore in Rails 3, which includes:
This is usually what I exclude. Some people also like to exclude the database.yml file if it’s going on a public repo and you don’t want to expose your database passwords.