Run stax with no arguments to open the terminal UI.
stax- Stack tree with PR status, sync indicators, and ahead/behind counts
- Branch diff viewer
- Keyboard-driven checkout, restack, submit, create, rename, and delete
- Reorder mode for branch reparenting
| Key | Action |
|---|---|
j/k or ↑/↓ |
Navigate branches |
Enter |
Checkout branch |
r |
Restack selected branch |
R (Shift+r) |
Restack all branches in stack |
s |
Submit stack |
p |
Open selected branch PR |
o |
Enter reorder mode |
n |
Create branch |
e |
Rename current branch |
d |
Delete branch |
/ |
Search/filter branches |
Tab |
Toggle focus between stack and diff panes |
? |
Show keybindings |
q/Esc |
Quit |
- Select a branch and press
o - Move with
Shift+↑/↓ - Review previewed reparent operations
- Press
Enterto apply and restack
Split a branch with many commits into multiple stacked branches.
stax split| Key | Action |
|---|---|
j/k or ↑/↓ |
Navigate commits |
s |
Add split point at cursor |
d |
Remove split point |
S-J/K |
Move split point down/up |
Enter |
Execute split |
? |
Toggle help |
q/Esc |
Cancel |
Split operations are transactional and recoverable with stax undo.

