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?
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.