On my local machine the configurations are different from the test and production server.
Everytime when I want to commit my local code, it notices (Bazaar Explorer) that I edited the config file. Now I'm explicitly ignoring this file with every commit. However, this goes wrong once in a while.
Using branch or user ignores doesn't solve the problem. The file is already in the trunk.
Does somebody have a good strategy, workaround or perhaps found the right parameter for this.
Thanks!
Don't version-control the actual config file. If you want to version-control a config sample, give it another name. So do something like this:
bzr remove --keep conf.ini
bzr ignore conf.ini
cp conf.ini conf.sample.ini
<maybe edit the new sample to be generic>
bzr add conf.sample.ini
bzr ci -m "don't track the actual conf file any more"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With