Slackbot
07/13/2023, 9:02 PMPranathi Peri
07/13/2023, 9:29 PMgt branch track should do the trick - what are the rebase issues you're running into with upstack onto?Jake Byman
07/13/2023, 9:43 PMJacob Gold
07/14/2023, 12:15 AMgt uso in a case like this — gt branch track --parent C should have worked without needing to rebase every commit in DJake Byman
07/14/2023, 12:37 AM--parent flag, I can try that next time 🙇Jake Byman
07/14/2023, 12:39 AMmain instead of C, is there an interactive squash where I can pick the commits I want to squash together?
E.g.
pick Initial commit
pick PR comments
squash Oops
squash asdf
squash Can't believe I did thatJacob Gold
07/14/2023, 12:40 AMJacob Gold
07/14/2023, 12:40 AMgt upstack restack afterwardsJacob Gold
07/14/2023, 12:41 AMJake Byman
07/14/2023, 12:42 AMJacob Gold
07/14/2023, 12:42 AMbranch track thing) The --parent flag only works when the parent is in the branch being tracked's history, in some cases you may need to use a rebase --onto to make that happen before running track — we can improve this by having branch track let you interactively select which commits to include as part of the branch and automatically do that rebase --onto for youJake Byman
07/14/2023, 12:43 AM