When I rename a zip file and modifies it I lose the file history. Since Git
recognize it as a new file .I tried git log command with --follow and git GUI
tools like TortoiseGit or git extension options to view a file history.
I am using Git-lfs to track all *.zip files and I also tried using textconv
for the diff of zip files in hope it will help.
my configuration for the textconv
.gitattributes:
*.zip filter=lfs diff=zip merge=lfs -text
.gitconfig file :
[diff "zip"]
textconv = unzip -c -a
binary = true
How to preserve "result.zip" history in Git after a commit that contained renaming it to "result_Two.zip" and modifying it ?