mirror of
https://github.com/git/git.git
synced 2026-01-18 14:44:28 +00:00
This trick was performed by rebasing the builtin-stash-rebase branch thicket via `git rebase -kir v2.19.0-rc1`, replacing all branches that made it into `pu` by their current versions (and also the builtin-stash by the newest iteration as of ungps/git), and then calling these commands: # save current tip tip=$(git rev-parse HEAD) # revert previous merge git reset --hard git-for-windows/master^0 git revert -n -m 1 HEAD git commit --squash HEAD -s -m "Let's drop this" # now perform the 3-way merge with v2.19.0-rc1 as base git merge-recursive v2.19.0-rc1 -- HEAD $tip git merge --ff-only \ $(git commit-tree -p HEAD -p $tip -m "Merge" \ $(git write-tree)) git commit -c HEAD^^ --amend -s The merge-recursive dance is necessary because of the merging-rebases: the fake merges with which these start are mistaken by `git merge` to mean that the branches were already merged, when the fake merges undid the corresponding changes. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
23 KiB
23 KiB