Do you use git reflog?
I do when I forget to run the git branch comment before. But I find it still hard to understand exactly which commit to reset to in the reflog.
One can also use that, or just `git log -n1` and taking note of the commit hash. So many options.
I do when I forget to run the git branch comment before. But I find it still hard to understand exactly which commit to reset to in the reflog.