This message was deleted.
# feature-requests
s
This message was deleted.
v
"nice way" not yet, but you can any time switch the trunk with
gt init --trunk foo
and then manage the branches with that "trunk".
i
I tried that, but then got the following:
Copy code
$ gt log
ERROR: Cannot perform this operation on untracked branch my_project_branch.
You can track it by specifying its parent with gt track.
v
Is
my_project_branch
part of a stack on the previous trunk branch or the new trunk branch?
i
It is the new trunk
v
Hm, seems
gt init --trunk foo
does not directly use
foo
but still asks and infers
master
. But if I then select
foo
from the list and make
gt ls
, it works.
i
I used
gt init
and selected from the list
v
gt --version
?
i
I've moved on, so I can't look too deeply into this now. Is it perhaps because
my_project_branch
already had children?
Version 1.0.5
v
Same version here. And with a different branch name, the
--trunk
option also worked. So no idea.
i
No worries 🙂
I'll try it again at some point using a fresh branch
v
I just tried to set some mid-stack branch as
trunk
and it also worked.
i
Hm, that's really weird
It happened for my colleague too
j
The “trunk untracked” issue is the same bug that a few others have hit recently (there’s a message in #bug-reports of someone who hit it today) — I fixed it over the weekend and added regression protection to ensure it doesn’t break again, we will release a new version with the fix soon. To answer the original question, we’re working on rolling better multi-trunk support, including simultaneous multi-trunk on the CLI, before the end of the year.
❤️ 1
i
Awesome! Thanks 🙂