Tony Edgecombe
Tony Edgecombe

Reputation: 3925

Which files should I ignore in subversion for a Rails project

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

Answers (1)

Veger
Veger

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

Related Questions