Purge binary data files from git repository to shrink repository size.
$ bash git-delete-history.sh binarydata.mat
Uses script from David Underhill git-delete-history.sh
Push updates to online repository to overwrite history (using force):
$ git push origin master –force
Ran on all binary files (.mat and .ai) that snuck into my Shadow-Enhancer git repository. Doesn’t seem to shrink online repository though. Online repository actually grew — even though binary files seem to have been removed from both histories.
Need to remove direct save references in code in Shadow Enhancer/Code folder.