I have a configuration file config.env
in my repository. My code makes modifications to this file based on some environment parameters through a shell script.
What I wish is to not track changes to this specific file and continue committing new changes to the code while continuing to pull the original config.env
, even though it might be changed while running the code. How can I make that happen?
The reason I have posted this question again as the popular answer of using git update-index --assume-unchanged
is explicitly rejected by the documentation.