Here's a preview from my zine, Oh Shit! Git!! If you want to see more comics like this, sign up for my saturday comics newsletter or browse more comics!
read the transcript!
This can happen when you’re rebasing many commits at once.
Escape the rebase of doom:
git rebase --abort
Find the commit where your branch diverged from main:
git merge-base main my-branch
Squash all the commits in your branch together:
git rebase -i $SHA_YOU_FOUND
Rebase on main:
git rebase main
person: alternatively, if you have 2 branches with many conflicting commits, you can just merge!
Saturday Morning Comics!
Want another comic like this in your email every Saturday? Sign up here!