Zach S
10/29/2025, 7:42 PMgt parent <some other branchname> ?
Would really be useful to me
I know gt parent gives the parent of the current branch, which is useful, but not what I'm asking for herePylon
10/29/2025, 7:42 PMPylon
10/29/2025, 7:46 PMZach S
10/29/2025, 7:50 PMZach S
10/29/2025, 7:50 PMZach S
10/29/2025, 7:51 PMgtls command to basically do gt ls and let me select a branch in the stack with fzf, and when I select it with "enter", it checks out that branch (I've been using a command like this with regular git for many years)Zach S
10/29/2025, 7:51 PMgit diff --name-only $(gt parent)..HEAD just to show which files differ from a branch to the parentZach S
10/29/2025, 7:51 PMZach S
10/29/2025, 7:52 PMZach S
10/29/2025, 7:52 PMZach S
10/29/2025, 7:55 PMgt info and some bash scripting to extract the parent (appears in the output as Parent: <branch> - can use sed/awk etc.
• gt ls and some bash scripting to find the parent (the one on the line after the line with the specified branch)Zach S
10/29/2025, 8:13 PMget_graphite_parent(){
local specified_branch="$1"
gt info --branch=$specified_branch --stat=true | grep "Parent:" | awk '{print $2}'
}Zach S
10/29/2025, 8:15 PMget_graphite_parent <branch name> would be), and maybe their implementations are, but those atomic pieces are not exposed to the user interface.
I want to be good at using graphite and I'm finding it much more difficult than being good at other dev tools.Zach S
10/29/2025, 8:19 PMbranch-name-placeholder
38 minutes ago
PR #3299 (Draft) PR name from Graphite webapp
<https://app.graphite.dev/github/pr/><org>/<repo>/3299
Last submitted version: v31
Parent: parent-branch-name-placeholder
Children:
commit <commit hash>
Author: Zach Siegel <zsiegel@mycompany.com>
Date: Wed Oct 29 10:08:09 2025 -0400
...a commit message from gt modify -cm 'messag'...
...a commit message from gt modify -cm 'messag'...
...a commit message from gt modify -cm 'messag'...
commit <commit hash>
Author: Zach Siegel <zsiegel@mycompany.com>
I think it's unlikely anyone will need this exact collection of random useful things frequently. If they need "all the info" they'll use the webapp; if they need something fine-grained (like git log or branch name) they'll use git directly. I don't think this command has good UX at all