is `gt create --insert` supposed to work if you're...
# report-bugs
t
is
gt create --insert
supposed to work if you're at layer A above trunk?
Copy code
B
A     → `gt create —insert` puts below below B — bug?
trunk
✅ 1
p
(If applicable) To help us repro, please send the following if you haven't already: - PR links, screenshots, and/or debug output if applicable - Repro steps - Does this happen consistently? Just to you or others on your team also? - Is this a regression? Is the problem new? - If you're having an issue with the CLI, please send us debug logs using
gt feedback --with-debug-context <any message>
Hey Tyler, do you mean
Copy code
B
A     → `gt create C —insert` puts below below B — bug?
trunk
is returning
Copy code
B
C
A    
trunk
--inserrt
should Insert the branch between the current branch and its child, aka upstack. So if you run it on A, it should put between A and B
t
ah i must have thought about it backward.
my bad guys, thanks!
slash #C06C4TH0D27 a flag to insert below would be cool
👍 1
p
yea that would make sense, we are actively testing an
--onto
flag for
gt create
though i think the use case is a bit more for creating on trunk from within some other stack than inserting below existing
graphite fractal 1
🌴 1