I am sure I recommend using the following technique, but ...
You can use filter drivers to customize the configuration file for each developer accordingly. A verified file may contain a common value, and each developer will have a smudge rule that will change it for them.
For example, if a line in a file called "config-file" that you want to change based on each developer looks like this:
config: default
Then the developer will have this in his local .git / info / attributes:
config-file filter = modify-config
and something like this in .git / config:
[filter "modify-config"]
smudge = sed -e 's / ^ config:. * / config: developers value /'
clean = sed -e '/^config/s/.*/config: default /'
William pursell
source share