ST33LDI9ITAL
ST33LDI9ITAL

Reputation: 41

Is there a way to set file in SVN repo. to be auto ignored on checkout?

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

Answers (1)

Greg Hewgill
Greg Hewgill

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

Related Questions