So I have a few files that get "modified/set" on a per user bases.
But is it possible to ignore that single line of the "config" when committing and to not overwrite that line when doing a pull? (Other changes to the file should be committed)
Example In Git (Test.ws)
[Macro]
DIR=C:\Users\XXXXXXXXX\AppData\Roaming\Test\
Example after user edits the file
[Macro]
DIR=C:\Users\Alex\AppData\Roaming\Test\
I have looked at Git Attribute Keyword Expansion but that has the disadvantage of everything not being in the "repository". So the drivers need to be setup for every user.
If I do go with Git Attribute, how would I set it up for the above file?
Note: The file above is a .ws
file. It is a file that is associated with an EXE
and it executes. There is nothing "consuming" it.