Slackbot
09/18/2023, 4:20 PMAryaman
09/18/2023, 4:21 PMgt split based on commit and then gt reorderamonshiz
09/18/2023, 4:43 PMgt be lets me move it in the correct direction but then not sure how to move it to another branch after that without using something like git reset --hard <target commit> to move the desired branch either to this commit or after this commit.Jacob Gold
09/18/2023, 4:55 PMundo will solve most of the use case for this, but i've toyed with an idea for a command that does this in the past — candidly not sure when we'd be able to put it out thoughJacob Gold
09/18/2023, 4:56 PMAryaman
09/18/2023, 4:57 PMPotentially! But I don't really want that specific commit to be its own branch or PR.You can
gt fold after the gt reorderJacob Gold
09/18/2023, 5:02 PM# move-commit <a> <b>
# move top commit of <a> to <b>
gt co a
git reset --soft HEAD~
git stash
gt co b
git stash pop
gt modify -camonshiz
09/18/2023, 7:06 PM