From: Kristoffer Haugsbakk Date: Thu, 15 Oct 2026 14:36:07 GMT Subject: Re: [PATCH 0/3] reflog: add --operations and --historical-branch Message-ID: In-Reply-To: On Thu, Oct 15, 2026, at 15:13, Harald Nordgren via GitGitGadget wrote: > Create a better reflog. Follows the discussion in > https://lore.kernel.org/git/akZfm-igZKeHaDST@pks.im/. > > "git reflog" lists every step of a rebase and every branch switch, which > makes it hard to see what was done and on which branch. This adds two > options to "git reflog" and "git log -g": > > * --operations shows one entry per command, folding a rebase into the entry > that finished or aborted it, and leaves out entries that change no > branch. > * --historical-branch decorates each entry with the branch HEAD was on when > it was recorded. This sounds very useful. That you rebase many commits and then the reset points (where each one started and ended) get obscured in the reflog is classic for me. And I think many have had the same issue. This is why I sometimes use `ORIG_HEAD` instead, or maybe make a backup ref.