Reputation: 3925
I can see I should ignore tmp/ and log/ but are there any other files which shouldn't be in the repository.
Upvotes: 1
Views: 176
Reputation: 37905
If you use a public repository (or one where unauthorised people can look in to) you could ignore config/database.yml
as well, since it contains information (usernames and passwords) about your database you might want to keep private.
Nonetheless, you'd need to readme/explanation, since it breaks your application when checking out.
Upvotes: 2