Being a 20-ish-year-old who hasn't matured enough to appreciate casual drinking while conversing with friends, I frequently end up playing some kind of drinking game at events. Most of them are alright, some of them are okay, but none of them are exactly what I want. That's why I'm going to (try to) make one.
There's hundreds of reasons why the commit history on your feature branch is a mess: testing things that don't work, reverts, you were pairing with someone and didn't want to waste their time while you tried to think of a good commit message. Regardless, here's how to clean up your git commits by rewriting history.