Skip to content

Why did git-for-windows switch to the merging-rebase fork strategy? #4821

Answered by dscho
siddharth-krishna asked this question in Q&A
Discussion options

You must be logged in to vote

The main reason to use rebases in the first place is to keep our patches in an upstreamable shape.

A secondary reason is to make integrating new upstream versions easier: it is too easy to overlook when changes outside the merge conflicts are problematic, especially when entire commits become obsoleted by upstream commits.

The challenge with rebases is that it would require force-pushing, and that just messes with PRs that are still in flight. So I invented first the rebasing merge (where it was easy to find out the latest rebased commit), and later switching to a merging rebase (where it is easy to find out the oldest rebased commit, which is a much more common question to answer).

In mi…

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
4 replies
@siddharth-krishna
Comment options

@dscho
Comment options

@siddharth-krishna
Comment options

@dscho
Comment options

Answer selected by siddharth-krishna
Comment options

You must be logged in to vote
5 replies
@dscho
Comment options

@phil-blain
Comment options

@dscho
Comment options

@phil-blain
Comment options

@dscho
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants