Can I disconnect the parent-child relationship bet...
# how-do-i
m
Can I disconnect the parent-child relationship between two branches?
✅ 1
a
Move child to
main
gt move -o ${TRUNK} --source ${CHILD}
m
Will that hide it from the stack in the dash?
a
Yes, but you will need to push all affected stacks
aka parent and child
(Note this only works for OPEN PRs)
m
If I want to just delete the child?
a
Oh just do
gt delete
child
And thenpush the parent
m
It still appears in the dash though
a
The child?
Oh you will need to close the child manually. Ideally we should allow closing the PR in
gt delete
.
m
yes
I closed it manually but it appears in the stack
I want that child PR to go away. I've reordered my stack and don't need it anymore,
a
You can hide closed/merged children in the stack viz
m
Does that impact the stack on top?
a
It'll apply for the whole stack
m
I want the dropdown to follow the same behavior.
*as the stack viz
Or have the option.
a
I think it should, does it not?
m
nope
a
Ok we should fix that.
Thanks for reporting
m
The dropdown is showing auxiliary stacks that are hidden in the stack viz.
Sure, thanks for the fast feedback!