Fredrik Westmark
11/24/2025, 10:15 AMgt sync usually detects merged PRs and offers to delete the local branch. Just now it didn’t. How can I make it behave? I can of course delete it by hand, but…Pylon
11/24/2025, 10:15 AMFredrik Westmark
11/24/2025, 10:16 AMgt sync after merging the PR via Graphite web app. Current state is that the local branch is not deleted and appears unmergedPylon
11/24/2025, 4:40 PMgt are you running on? If you are on an older version I recommend upgrading to the last version using gt upgrade.
For understanding why this is happening, please run gt feedback --with-debug-context <any message> to share logs and info about your particular gt CLI with us.Fredrik Westmark
11/25/2025, 11:10 AMPylon
11/25/2025, 10:34 PMgt branch info and send me what this returns?
Could you could try gt sync --force ?Fredrik Westmark
11/26/2025, 6:19 AMFredrik Westmark
11/26/2025, 6:20 AMgit branch info
westmark/fix-roundup-20251124
2 days ago
Parent: main
commit 906d71777497ea84368eeab54fc03280d283611a
Author: Fredrik Westmark <fredrik.westmark@gmail.com>
Date: Mon Nov 24 10:57:10 2025 +0100
add emp id to graph engine props. fix broken oldest nodeFredrik Westmark
11/26/2025, 6:21 AMgit sync --force just restacks the branch
Restacked westmark/fix-roundup-20251124 on main.Pylon
11/26/2025, 4:55 PM906d71777497ea84368eeab54fc03280d283611a exists as an ancestor of main?
Running git merge-base --is-ancestor 906d71777497ea84368eeab54fc03280d283611a main && echo "commit is in main" on the latest main will return "commit is in main" if the SHA exists in main's historyFredrik Westmark
11/27/2025, 7:41 AMFredrik Westmark
11/27/2025, 7:42 AMFredrik Westmark
11/27/2025, 7:44 AM8715c29896346b684b1e96bda846bb88a5c04447 (?)Fredrik Westmark
11/27/2025, 7:46 AMgit merge-base --is-ancestor 8715c29896346b684b1e96bda846bb88a5c04447 main && echo "commit is in main" doesn’t print anything either.Fredrik Westmark
11/27/2025, 7:48 AMFredrik Westmark
11/27/2025, 1:14 PMPylon
12/01/2025, 4:55 PMFredrik Westmark
12/01/2025, 5:05 PMPylon
12/02/2025, 10:28 PMgt delete to delete any branches that have been merged.Fredrik Westmark
12/03/2025, 7:35 AMFredrik Westmark
12/03/2025, 7:36 AMPylon
12/03/2025, 4:08 PMFredrik Westmark
12/04/2025, 7:46 AMPylon
12/04/2025, 4:23 PMPylon
12/08/2025, 9:50 PMgt delete in the case gt sync doesn't auto-suggest this. If you find an easy repro that would be helpful in understanding what could be going wrong.
Thank you for your feedback!Fredrik Westmark
12/09/2025, 7:28 AM