Reputation: 41
I would like to include my project files and other config files within my SVN repo. but don't want the changes committed back into the repo. So is there a way to set files on the server/repo. end so that when they are checked out they will be automatically ignored?
Upvotes: 4
Views: 53
Reputation: 993095
The usual way to solve this is don't put the real configuration files in the repository. Instead of having
config/whatever.cfg
in your repository, store
config/whatever.cfg.example
and then manually copy the config/whatever.cfg.example
to config/whatever.cfg
when you check out the repository and set it up for your local environment.
Upvotes: 4