Sometimes Git sync -a leave me with conflicts after branchs have been deleted on remote #4872
Replies: 3 comments 4 replies
-
Thanks for reaching out about this! As a general best practice, we recommend updating to the latest version (currently Git Town 20), as newer versions include bug fixes and make it easier to diagnose issues. From the output you shared, it looks like branch To investigate this further, it would be helpful to have a minimal set of steps to reproduce the issue. Alternatively, the full output of Also, just to confirm: does running git town continue resolve the issue in your case? If this happens again in the future, you should be able to run git town undo to go back to the state before the botched sync. |
Beta Was this translation helpful? Give feedback.
-
Hey Kevin, thanks for the quick answer ! 🙏 I've updated Git Town and will let you know if I see any improvement. What I don't get is that:
Why try to rebase main onto [main, observed_branch_1] in the first place ? |
Beta Was this translation helpful? Give feedback.
-
A fix for the unnecessary rebase is now available as part of Git Town 20.1. |
Beta Was this translation helpful? Give feedback.
-
And I don't get why 🥲
That's annoying because I really like Git Town, it's a really great tool !
But I haven't recommended it to my team yet because sometimes
sync -a
leave me in a totally random state, with conflict that are not justified.It just happen to me again, wanting to sync my local copy after two unrelated branches have been deleted on remote.
Here is a summary of the console:
Any idea what's happening here ?
I'm using Git town 18.1.0 and here is my config:
Beta Was this translation helpful? Give feedback.
All reactions