Is there a way to fold a branch up in a stack, e.g...
# how-do-i
b
Is there a way to fold a branch up in a stack, e.g. if I have root A<-B<-C, how do I fold B into C? lots of deps on B<-C so havent tried upstacking around and folding since i imagine it'd cause some gnarly rebase conflicts (the reason for keeping C instead of B is the associated PR)
j
you can use
gt co C && gt fold --keep
—
--keep
uses the branch/pr from the upstack branch
✅ 1