(this is a suggestion, but there's no suggestions ...
# how-do-i
t
(this is a suggestion, but there's no suggestions channel) In `gt`/graphite CLI, I'd like to see the PR # near the branch name when doing something like
gt co
— sometimes i know the PR number but don't know the branch name. eg,
Copy code
◯        branch-a (#1682)
    │ │ ◯    branch-b (#1871)
    │ │ │ ◯  branch-c (#1872)
    ◯─┴─┴─┘  main
• ideally, this would allow me to search-via-typing, like how it works for branch names. (eg if i type
18
i would expect to see branch b & c) • personal preference would be that the
(####)
portion is a muted color compared to branch names
➕ 3
d
you can use #C06C4TH0D27
t
TIL, thanks
j
This is available in
gt log
:)
d
they want to switch branches based on PR number
➕ 1
t
Yes, exactly ^
j
Oops! i see — we’ll look into adding it
🖤 1