Slackbot
12/07/2023, 6:10 AMPranathi Peri
12/07/2023, 3:12 PMgt sync is roughly equivalent to doing a git pull (with the added benefit of restacking your PRs if needed) Generally you do this when there have been new commits to main and you want to make sure your branches are rebased on the latest changes
gt get is used when you want to bring an "external" branch into your working space, if you're collaborating with a coworker on a stack for example. gt sync would not get this branch for you, but gt get would. If a coworker commits changes to a branch that you're working on, you would also use gt get in this case (I believe committing suggested changes works similarly)
Let me know if that makes sense (and also cc @Alyssa Baum let me know if I missed anything)Tommy Kwan
12/07/2023, 4:10 PMAlyssa Baum
12/07/2023, 4:11 PMgt sync -no-restack followed by gt restack --only to sync everything but only restack your current stackTommy Kwan
12/07/2023, 4:14 PM--no-restack , exactly what I'm looking for! thanks!