I have a relatively small git repository containing a standard Wordpress installation. However, I accidentally added a "concept" folder in the repository which contains many large psd
files.
The problem is that now, after 50 commits, git has created a "pack" file, which is 1,3 GB.
To downsize the pack folder I tried to remove my "concept" folder via:
git filter-branch --index-filter 'git rm -rf --cached --ignore-unmatch DIRECTORY/' --prune-empty --tag-name-filter cat -- --all
and afterwards
git gc --aggressive --prune
After the execution of these commands, my "concept" folder was deleted from the file system and from all commits but the pack file is still exactly 1,3 GB
Is there anything else I can do to reduce the size of the pack folder?