Jonny O'Mahony
06/06/2024, 2:38 PMJeff Huang
06/07/2024, 3:36 PMElla Rohm-Ensing
06/07/2024, 5:01 PMgt reorder
for stuff like this where the branch I want to move has dependents (e.g. instead of doing move d onto b, c onto main, a onto c), which I think works well as a workflow
however I always get stuck because I have C checked out when i do a gt reorder, and then reorder only pulls up the stack from A -> B -> C. Once i've reordered C -> A -> B, I run into the same caveat that first suggestion does with gt move
, where D moved with C.
Suggestion: perhaps for both move
and reorder
, should there be a warning/prompt similar to when you submit a lower branch in a stack and it asks you if you want to submit the child branches too?
There'd definitely be some behavior decisions to make, hence why bringing it to ideas - but i've always found it unintuitive. I often think about moving branches, and not moving a branch and its dependents (but sometimes I do want to do that too - I'd just like what i'm doing in either case to be clearer, maybe have different operation names)Mau
06/08/2024, 12:56 AMLukas Mertens
06/08/2024, 8:13 AMgt checkout
, and when users chose the branch, remember it. At the end you just have to execute all combinations of gt move --source <the-branch-to-move> --onto <dependency>
and if I didn't miss anything it should give you a perfect tree with the least dependencies possible.Tyler Nieman
06/10/2024, 4:06 PMgt co --stack
that would be analogous to gt log short --stack
Tyler Nieman
06/10/2024, 6:32 PMScott Richardson
06/10/2024, 10:23 PMKirill Korneev
06/11/2024, 9:22 AMLucas Cavalcante
06/11/2024, 3:36 PMLucas Cavalcante
06/11/2024, 3:42 PMJoel Rozen
06/13/2024, 10:19 PMAsko
06/20/2024, 8:57 AMgt get
action 😅 I suspect there might be others like me who don't read to the docs too in depth and just watch the guidance videos. Soo my "idea" is that, gt get
could be pushed to be bit more visible in the docs.
(I've been manually fetching, checking out to a branch and using gt track
)Adam Lazur
06/23/2024, 3:21 AMgh pr status
on the cli for a quick “where am I in the review process” … it’d be awesome if gt pr --text-mode-is-the-best-mode
would do similar but maybe default to the current stack’s PRs onlyLuke Tan
06/24/2024, 6:27 AMDario Oddenino
06/25/2024, 8:17 AMForbes Lindesay
06/26/2024, 11:57 AMMaximilian Bartel
06/26/2024, 1:20 PMChad McElligott
06/26/2024, 3:09 PMReshef Elisha
06/26/2024, 6:39 PMChad McElligott
06/27/2024, 4:33 PMWillman Duffy
07/01/2024, 2:17 PMgt fold
and I was thinking backwards and merged into the wrong branch. I don't have a clear way to undo this now. I would reset to remote but I have some other changes in other places on the stack that aren't synced up currently. I would love it if gt fold
ran a confirmation before it made the change. "branch_b will be merged into branch_a. Y/N"
https://graphite-community.slack.com/archives/C02ENKC0A9X/p1715296040420449Jongeun Lee
07/02/2024, 1:53 PMAmbroos Vaes
07/03/2024, 3:48 PMPrasanth Somasundar
07/04/2024, 3:07 AMChad McElligott
07/04/2024, 2:37 PMLuis Ospina
07/05/2024, 12:42 PMVerified
commitsLukas Mertens
07/10/2024, 9:22 AMJorge Gonzalez
07/12/2024, 11:53 PMTyler Nieman
07/22/2024, 5:32 PMgt absorb
, but it's not always quite enough.
still dreaming of this graphite fractal⤵️