It'd be nice if we could opt to use merge instead ...
# ideas
s
It'd be nice if we could opt to use merge instead of rebasing for restacking.
t
(not graphite team member) isn't that just a normal git pull/merge/ff/etc?
s
I'm not sure I follow. Rebasing requires going through every commit and resolving each issue one by one whereas a reverse merge does it all in one go. I often prefer to just do the merge otherwise you can get caught up doing a bunch of merge conflict fixes for what I consider to be no reason.
t
sorry, brain still waking up 😂 that's fair if you wanna update more than just 1 branch. (though i dont mind conflict resolution generally)
🤙 1
you might be able to do this by manually
git pull
-ing in the bottom of your stack (closest to trunk) and then using
gt up && gt restack --downstack
("Only restack this branch and its ancestors.")
s
I can give it a shot.