I am currently working on a python application to save backups of system units from production. For each unit there will be one backupfile which is basically a text file containing a dictionary of the configuration.
Now our idea was to use git instead of an increasing number of backup files (since we want to have a copy of every daily backup). Therefore for each unit we override the backup file with the new version and commit the changes. The problem is that git identifies every overwritten file as 100% change and registers a deletion and an insertion for every single line.
Is there any way to tell Git to ignore the file creation date or whatever it is looking at and just focus on content changes?
thank you in advance!