News for hackers. Stuff that matters.
Re:How to Squash and Rebase in Git by slumpa on Friday January 07, 2022 @11:35AM (#29841183)
Before I rebase, I always create a "backup" branch (`git branch backup`). Then if I mess up, I can always reset back to it (`git reset --hard backup`). Maybe better than trashing and re-cloning :-)

There are no comments on this comment yet.