I can see I should ignore t开发者_StackOverflowmp/ and log/ but are there any other files which shouldn't be in the repository.
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.
精彩评论