Andrew Stewart
05/07/2026, 7:05 PMgt sync or gt restack with a merge strategy rather than rebasing?
and if there's not could I get like... an explanation of why we don't have the option of a merge strategy if its a purposeful decision? I work for https://jump.ai/, and we have quite a few engineers at the company using Graphite, and I think a lot of us would really like this feature.Pylon
05/07/2026, 7:05 PMPylon
05/07/2026, 11:08 PMgt sync/gt restack is the local-restack side and doesn't currently have a merge-strategy alternative. from my understanding, the reason why is because stacked PRs in Graphite are modeled as a linear chain where each branch has exactly one parent at one specific commit. gt sync/gt restack reconcile that chain by replaying commits onto the new parent, which makes the difs stay clean and allows us to automatically detect/clean up once the parent branch merges.Andrew Stewart
05/12/2026, 10:46 PMAndrew Stewart
05/12/2026, 10:47 PMAndrew Stewart
05/12/2026, 10:47 PMAndrew Stewart
05/12/2026, 10:48 PMAndrew Stewart
05/12/2026, 10:48 PMAndrew Stewart
05/12/2026, 10:49 PMAndrew Stewart
05/12/2026, 10:49 PM