logoalt Hacker News

ibizamantoday at 6:16 AM1 replyview on HN

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.


Replies

_ikke_today at 7:07 AM

The branch reflog (git reflog <branchname> or git log -g <branchname>) is a lot easier to follow in the case of rebase than the HEAD reflog (which gets an entry for each commit that gets checked out / applied).