Git Operations
Press Ctrl+G to open the git popup for the selected pane's working directory. The popup shows a file list with individual file staging using vim-style navigation.
Press Ctrl+F to open the diff viewer for the same working directory. It can switch between unstaged and staged diffs.
File List Navigation
| Key | Action |
|---|---|
j/k | Move cursor up/down |
Space | Toggle file selection |
a | Select/deselect all files |
g/G | Jump to top/bottom |
Enter | Stage selected files |
Ctrl+A | Stage all files (git add -A) |
Ctrl+P | Push to remote |
q/Esc | Close |
File Status Colors
- Yellow (M) — modified
- Green (A) — added
- Red (D) — deleted
- Blue (R) — renamed
- Dim (??) — untracked
Workflow
- Press
Ctrl+Gto open - Navigate with
j/k, select files withSpace - Press
Enterto stage selected files, orCtrl+Ato stage all - Type a commit message and press
Enter - Press
Ctrl+Pto push
Diff Viewer
| Key | Action |
|---|---|
s | Toggle staged/unstaged diff |
n / N | Next / previous changed file |
]c / [c | Next / previous hunk |
o / Enter | Collapse or expand focused row |
j / k | Scroll line by line |
d / u | Scroll half page |
g / G | Jump to top / bottom |
q / Esc | Close |
Requirements
Git operations use the pane's current working directory. The popup only appears when the pane's CWD is inside a git repository.