| ▲ | shepmaster 3 hours ago | |
> Haven't used --update-refs, but reading it, it should result in your third graph. I don't think it does. I tried locally:
And ended up with this graph (`git log --graph --all`)
Replacing the `git commit -m 'fix b'; git rebase -i --root --update-refs` with `git history fixup HEAD~` produces what I'd like: | ||
| ▲ | jolmg 3 hours ago | parent [-] | |
Huh.. That's a shame :(. Maybe what it refers to is if you had a branch on B rather than D, it might update that. EDIT: Yeah, this seems to be it. `git branch b` on b, then `git rebase -i --update-ref @~3` from main caused branch ref `b` to move from d86229e to 02fcaf7: | ||