You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shows all branches in the stack, their ordering, PR links, and the most recent commit with a relative timestamp. Output is piped through a pager (respects `GIT_PAGER`, `PAGER`, or defaults to `less -R`).
@@ -121,6 +121,10 @@ gh stack view --short
121
121
gh stack view --json
122
122
```
123
123
124
+
`gh stack view --short` uses OSC 8 hyperlinks for PR numbers when the terminal
125
+
supports them. Otherwise, the full URL is shown for copy/paste. Set
126
+
`GH_STACK_HYPERLINKS=1` or `GH_STACK_HYPERLINKS=0` to override terminal detection.
127
+
124
128
### `gh stack checkout`
125
129
126
130
Check out a stack by its stack number, a pull request number, a PR URL, or a branch name.
|`GH_STACK_THEME`|`auto` (default), `light`, `dark`| Controls the color palette of the interactive screens (`submit`, `modify`, `view`) and all colored command output. Colors adapt to your terminal background automatically; set this to force the light or dark palette when a terminal doesn't report its background (some SSH or `tmux` setups). |
664
+
|`GH_STACK_HYPERLINKS`|`0`, `1`| Disables or enables OSC 8 hyperlinks when terminal detection is incorrect. Unsupported terminals show the full URL by default. |
0 commit comments