I have some tracked files in a repository which are automatically modified when building the code. I don\'t want to untrack them, I just don\'t want them to appear as modifi
An another solution using git attributes and %f in filter command:
git config filter.orig.clean "cat %f.orig" cp filename filename.orig echo "filename filter=orig" >> .git/info/attributes echo "filename.orig" >> .git/info/exclude