Re:Don't include configs in your Git repos
by jakejake on Wednesday October 28, 2015 @11:52PM
(#10469170)
The configs for .net I would definitely consider part of the code - they can have some really intense setup for the project!
If I was forced to put credentials in there, then I would ignore web.config, but commit a web.config.default file without the credentials. Part of the setup instructions would include copying the file after cloning the repo and putting in your own machine-specific credentials.
If I was forced to put credentials in there, then I would ignore web.config, but commit a web.config.default file without the credentials. Part of the setup instructions would include copying the file after cloning the repo and putting in your own machine-specific credentials.