Launch
Interface Layout
Keyboard Controls
Navigation
| Key | Action |
|---|---|
↑ / k | Move up |
↓ / j | Move down |
Tab | Switch between panels |
Enter | Select / Expand |
Actions
| Key | Action |
|---|---|
a | Stage selected file |
u | Unstage selected file |
c | Open commit dialog |
s | Switch branch |
d | Show diff for selected file |
r | Refresh |
q | Quit |
? | Show help |
Commit Dialog
When you pressc:
- Type your commit message
- Press
Ctrl+Enterto commit - Press
Escapeto cancel
Panels
Status Panel (Left)
Shows:- Staged files (ready to commit)
- Unstaged modifications
- Untracked files
Diff Panel (Right)
Shows:- Diff for the selected file
- Syntax highlighted
- Scroll with arrow keys
Branch Panel
Presss to open:
- List of local branches
- Current branch highlighted
- Select and press Enter to switch
Workflow Example
-
Launch TUI:
- Navigate: Use arrow keys to select files
-
Stage: Press
ato stage selected file -
View diff: Press
Tabto see changes -
Commit: Press
c, type message,Ctrl+Enter -
Switch branch: Press
s, select branch, Enter -
Quit: Press
q
Features
File Status Colors
- 🟢 Green: Staged
- 🟡 Yellow: Modified
- 🔴 Red: Deleted
- ⚪ Gray: Untracked
Diff View
+lines: Added (green)-lines: Removed (red)- Context lines: Normal
Branch Switching
The TUI shows:- Branch list
- Current branch marker
- Uncommitted changes warning
Advantages
- Works over SSH: Perfect for remote development
- Keyboard-driven: Fast for touch typists
- Low overhead: Lightweight compared to web UI
- Always available: No browser needed
Customization
The TUI respects your terminal theme. For best results:- Use a terminal with 256 colors
- Use a monospace font
- Ensure UTF-8 support
Troubleshooting
Display issues
Display issues
Ensure your terminal supports:
- UTF-8 encoding
- 256 colors
- Minimum 80x24 size
Keys not working
Keys not working
Some terminals intercept keys. Try:
- Different terminal emulator
- Check terminal settings
Colors look wrong
Colors look wrong
Set your TERM variable: