Git history cleanup doesn't seem to have an effect
- by eaigner
Hi,
i ran the following 2 commands to clean up .pbxuser and .mode1v3 files from my git repository, but afterwards when i e.g. fire up gitx i can still see them in the history.
git filter-branch --tree-filter "git rm -rf --cached --ignore-unmatch *.pbxuser" HEAD
rm -rf .git/refs/original/ && git reflog expire --all && git gc --aggressive --prune
What did i misunderstand here? The commands seem to do the job but why is gitx still viewing the diffs in its history?
Regards, Erik