Joseph U.
Joseph U.

Reputation: 4607

How to ignore config files in SVN?

What is the proper syntax to ignore a specific file such as a configuration file which may be different depending if it is running on Development, QA or Production?

Upvotes: 1

Views: 939

Answers (2)

zellus
zellus

Reputation: 9592

Create and check in a template web.config.template and ignore web.config the 'deployed' version.

To automate the web.config.template customization create a shell script.

Upvotes: 1

Timur Sadykov
Timur Sadykov

Reputation: 11377

you can add property svn:ignore in your repository and ignore *.config files or exactly web.config

Upvotes: 0

Related Questions