Slackbot
11/03/2023, 4:59 PMJacob Gold
11/03/2023, 5:06 PM--no-restack options. we have plans to build a gt pin command that marks a branch as "shouldn't be restacked by anything", not sure when we will release that at this point though.
workaround for your current case is to use two gt move commands:
gt co D
gt move -o B
gt co C
gt move -o D
as this won't include all the branches down to trunk in the list of branches to restackElla Rohm-Ensing
11/03/2023, 5:13 PMgt sync --only
I feel like the solution might be making A my trunk? that worked well for development last time, but then things got super messed up once that trunk branch was merged to master, so I'm not sure.Ella Rohm-Ensing
11/03/2023, 5:14 PMJacob Gold
11/03/2023, 5:15 PMgt pin will solve this exact case, you'd pin A, and then it would never be updatedElla Rohm-Ensing
11/03/2023, 5:15 PMElla Rohm-Ensing
11/03/2023, 5:17 PMA changed, I still want to restack on A (similar to if master changed). I just don't want to be responsible for restacking A onto its descendants (or submitting/updating it, but I guess if it never gets restacked because of me there'd be nothing to push anyway)Jacob Gold
11/03/2023, 5:22 PMget, it just wouldn't restack (and likely block you from modify or submit)Ella Rohm-Ensing
11/03/2023, 6:27 PM