GIT Mode
GIT mode exposes everyday git operations with keyboard-driven status and branch views.
Status layout
Section titled “Status layout”Three sections are always visible:
- Staged
- Unstaged
- Untracked
File operations
Section titled “File operations”| Key | Action |
|---|---|
s | Stage selected file |
u | Unstage selected file |
d | Discard selected change (with confirm) |
a | Stage all |
A | Unstage all |
Commit and remotes
Section titled “Commit and remotes”| Key | Action |
|---|---|
c | Open commit prompt and commit on enter |
p | Push |
P | Pull |
f | Fetch |
Branches and stash
Section titled “Branches and stash”| Key | Action |
|---|---|
b | Open branch panel |
enter | Switch branch (in branch panel) |
n | Create branch (in branch panel) |
D | Delete branch (in branch panel) |
z | Stash push |
Z | Stash pop |
? | List stashes |
Log + DIFF integration
Section titled “Log + DIFF integration”lopens oneline commit log.enteron a commit opens it in DIFF mode.
GIT -> PI handoff
Section titled “GIT -> PI handoff”Press i to send staged diff context into PI.