8 comments

[ 2.9 ms ] story [ 22.5 ms ] thread
Stumbled across this the other day — life-saver. Very well-designed
We link to this regularly in the #git irc channel on freenode. Seth used to frequent there, but he hasn't been there for a while.
I had to do a bit of history rewriting not too long ago. On my professional-facing repo I had some projects from back when I was in college where I had done a mixture of commits from both my professional persona and another username. It was only recently that I noticed and so I used git-filter-branch to clear out the commits I had made.

Thankfully it was a long-dormant project.

easiest method (this article glosses over it): use BFG 2000: https://rtyley.github.io/bfg-repo-cleaner/
Whoa, this is a revelation. Thanks for posting!
"The BFG treats you like a reformed alcoholic: you've made some mistakes in the past, but now you've cleaned up your act."

As a member of AA, I resemble that remark ;)