Git keys
Development reference · View source
| Key | Action |
|---|---|
Space g g | Open the changed-file list |
Space g d | Open the active file’s unstaged diff |
Space g D | Compare the active file’s complete Git versions side by side |
Space g b | List local and cached remote branches and check one out locally |
Space g w | Open the repository worktree list |
Space g l | Open paged commit history |
Space g n | Open the cached commit network |
Space g f | Fuzzy-search commits in a hash/title list with author, date, and full-message preview |
Space g B | Open live-buffer attribution for the whole file |
Space g t | Open the bounded stash list |
Space g r | Re-read branch, changed files, and changed lines from Git |
Every Git view uses Tab for its actions; see
Contextual actions
. The :git-… commands are listed
under Commands
.
A typical commit:
Space g g— open the changed-file list.- Select rows, then
Tab s— stage them. Tab c— write the message in the buffer that opens.:w— commit.Tab P— push.