1

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?

Joseph U.
  • 4,457
  • 10
  • 41
  • 47
  • possible duplicate of [App.config only for my developer machine.](http://stackoverflow.com/questions/2309178/app-config-only-for-my-developer-machine) – Sander Rijken Sep 30 '10 at 18:40
  • Put your config files in a different svn tree, that you can branch into dev, QA and production versions. – Ether Sep 30 '10 at 18:43

2 Answers2

1

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.

zellus
  • 9,617
  • 5
  • 39
  • 56
0

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

Timur Sadykov
  • 10,859
  • 7
  • 32
  • 45