Vampire
10/09/2025, 4:22 PMERROR: Could not find branch foo. is not too helpful as error message when I am on this very same branch.
I guess `gt`'s problem is, that it is not a tracked branch, but the error doesn't say that.Pylon
10/09/2025, 4:22 PMgt feedback --with-debug-context <any message>Pylon
10/09/2025, 4:40 PMgt submit you would see
ERROR: Cannot perform this operation on untracked branch foo.
You can track it by specifying its parent with gt track.Vampire
10/09/2025, 4:49 PMgt c and gt downPylon
10/09/2025, 6:03 PMVampire
10/09/2025, 9:29 PMfoo and that was where I was standingVampire
10/09/2025, 9:37 PMPylon
10/09/2025, 9:43 PMgt track ?Vampire
10/09/2025, 10:18 PMPylon
10/10/2025, 1:08 PMgt track please?Vampire
10/10/2025, 2:30 PMVampire
10/10/2025, 2:33 PMPylon
10/10/2025, 2:37 PMVampire
10/10/2025, 3:15 PMVampire
10/10/2025, 3:16 PMPylon
10/10/2025, 3:29 PMmerged in two other branches this was done with vanilla git versus gt? and what is the trunk of foo at this point? one of the merged branches or something else? trying to understand how you got to where you are, purely from detached head a new branch works with gt track albeit that gt ls shows it needs restack immediatelyVampire
10/10/2025, 3:34 PMgit switch --detach
git merge vampire/mixin-spec-internals vampire/use-snapshot-id
git switch -c foo
# do some work
gt create groovy5 -m "Add Groovy 5 support (#2196)"
gt trackVampire
10/10/2025, 3:35 PM