How do I remove commits which have no changeset using git filter-branch?
I rewrote my git history using:
git filter-branch --tree-filter 'rm -r -f my_folder' -f HEAD
this worked out well but now I have lots of commits with empty changesets. I would like to remove those commits. Preferably in msysgit.
Rebasing is not really an option because I have over 4000 commits and half of them must be removed.