3 ms·
Do you use git reflog?
by catlifeonmars 3mo ago
Do you use git reflog?
- jolmg 3mo agoOne can also use that, or just `git log -n1` and taking note of the commit hash. So many options.
- ibizaman 3mo agoI 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.
- _ikke_ 3mo agoThe 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).