News for hackers. Stuff that matters.
Re:Oh Shit, Git by blep_ on Saturday June 25, 2022 @08:04PM (#31879804)
> That understanding lets me generalise to, for example, backing up a branch (with git branch/tag) before doing a tricky rebase so I can restore it (with git reset --hard) if I need to undo.

You can also do `git reflog` on branches to see what they used to point to :)

There are no comments on this comment yet.