Ben Payne
04/15/2026, 12:17 AMPylon
04/15/2026, 12:17 AMFlorian Bernard
04/15/2026, 8:12 AMBen Payne
04/15/2026, 11:51 AMPylon
04/15/2026, 1:46 PMgt should work pretty seamlessly with worktrees as its operations are largely at the branch level. let me know if you're running into any issues.Ben Payne
04/15/2026, 1:51 PMFlorian Bernard
04/16/2026, 9:10 AMPylon
04/16/2026, 4:23 PMI guess ideally I should do Graphite operations only from the base repo, but the issue is that it's not possible to check out a branch opened in another worktree.
graphites stack metadata is sahred across all your worktrees so
gt works the same from any of them. instead you can cd into the worktree and run your gt commands from there. for stack wide commands like gt sync and gt restack -- you'd want to run them from the worktree that owns the top of the stack.
So I end up doing a rebase in my PR worktree and I guess this is where is started to go wrong.
you wouldnt want to run
git rebase but use gt restack instead as this will keep parent pointers and commit SHAs consistent within graphite.Florian Bernard
04/17/2026, 8:42 AM