Aaron Hall
04/20/2023, 9:32 PMgt metadata as I lost an entire stack locally that’s already been submitted as a stack. What’s the best way to get that back? I tried to do a series of gt dsg <branch-name> then repeat up the stack, but when I tried to do another stack submit, it gave me the message that I cannot perform that action on an untracked branch. So I tried tracking the branches, but they weren’t in a stack anymore. Not a huge loss if I lose the ability to manage this stack with gt moving forward as it’s very small and will be merged in the next day or two. But this is a good thing for me to understand so that, as more of my team adopts it, I can help them through it.Aryaman
04/20/2023, 9:35 PMAaron Hall
04/20/2023, 9:36 PMAryaman
04/20/2023, 9:39 PM$ gt dsg <top of stack>
$ gt bb
// For all branches in stack...
$ gt branch track
$ gt ssAryaman
04/20/2023, 9:40 PMgt ss --forceAryaman
04/20/2023, 9:41 PMAaron Hall
04/20/2023, 9:42 PMgt branch track is trying to set the parent to mainAaron Hall
04/20/2023, 9:43 PMss step, let me start overAryaman
04/20/2023, 9:43 PMgt branch track --parent <downstack branch>Aaron Hall
04/20/2023, 9:43 PMAryaman
04/20/2023, 9:43 PMAryaman
04/20/2023, 9:44 PMAaron Hall
04/20/2023, 9:45 PMERROR: core-1272-api-update-graphql-to-support-checkbox is not in the history of core-1273-frontend-add-checkbox-to-storefront.Aaron Hall
04/20/2023, 9:46 PMAryaman
04/20/2023, 9:47 PM$ gt dsg <bottom of stack>
$ gt branch track <bottom of stack>
$ gt dsg <bottom of stack + 1>
$ gt branch track <bottom of stack + 1>
$ gt branch checkout <bottom of stack + 1>
$ gt upstack onto <bottom of stack>Aryaman
04/20/2023, 9:48 PMAryaman
04/20/2023, 9:52 PMgt downstack trackAaron Hall
04/20/2023, 9:52 PMJacob Gold
04/20/2023, 9:54 PMgt downstack get <top> work?Jacob Gold
04/20/2023, 9:54 PMAaron Hall
04/20/2023, 9:54 PMAaron Hall
04/20/2023, 9:55 PMAaron Hall
04/20/2023, 9:56 PMAaron Hall
04/20/2023, 9:57 PMAaron Hall
04/20/2023, 9:58 PMgt dsg <top> and that pulle down the four branches as I expected. I was able to branch up/down on them. Then I went to main and did a dsg on another branch, now my git log only shows the bottom of the stack and the rest are goneAaron Hall
04/20/2023, 9:59 PMAaron Hall
04/20/2023, 10:02 PMAaron Hall
04/20/2023, 10:03 PM