git, filter-branch on all branches
The solution is simple: git filter-branch [options] — –all Note the four dashes (two sets of double dashes with a space in between) in — –all. If you look at the docs for git-filter-branch, it says this: git filter-branch [–env-filter <command>] [–tree-filter <command>] [–index-filter <command>] [–parent-filter <command>] [–msg-filter <command>] [–commit-filter <command>] [–tag-name-filter <command>] [–subdirectory-filter <directory>] … Read more