I have a config.php
which suppose to be different in content in different branches, e.g. testing
and master
.
I have asked in another question (Prevent merging a file from master with Git) that how to prevent this file from merging.
But I am wondering, is this the correct way to do so?
I believe this is quite a common use case to have different config files in different environments and you want the config to keep tracked, right?