Commit | ||
Ctrl + Return | : | Commit staged changes |
Ctrl + s | : | Stage / unstage selected files |
Alt + a | : | Stage modified files |
Alt + u | : | Stage untracked files |
Ctrl + u | : | Revert unstaged edits |
Ctrl + z | : | Revert uncommitted changes |
Shift + Ctrl + m | : | Merge branches |
Ctrl + m | : | Amend last commit |
Shift + Ctrl + c | : | Cherry pick |
Actions | ||
Ctrl + b | : | Create branch |
Alt + b | : | Checkout branch |
Ctrl + t, t | : | Find files |
Ctrl + g | : | Grep |
Alt + d | : | Show diffstat |
Alt + e | : | Export patches |
Shift + Alt + s | : | Stash |
Ctrl + backspace | : | Delete untracked files |
Shift + Ctrl + f | : | Toggle paths filter |
Ctrl + r | : | Refresh |
? | : | Keyboard shortcuts |
Editing | ||
Ctrl + e, Enter | : | Launch editor |
Space | : | Open using default application |
Shift + Space | : | Open parent directory |
Shift + Ctrl + e | : | View / edit recently modified files |
Ctrl + d | : | View diff using `git difftool` |
Ctrl + # | : | Focus tools |
Shift + Ctrl + # | : | Show and hide tools # is 1 for commit, 2 for status, 3 for diff, etc. |
Remotes | ||
Ctrl + p | : | Launch the Push dialog |
Shift + Ctrl + p | : | Launch the Pull dialog |
Diff | ||
s | : | Stage the selected lines, or the diff hunk beneath the text cursor when nothing is selected |
Browser actions | ||
Shift + Ctrl + h | : | View history |
Shift + Ctrl + d | : | View diff against predecessor |
Navigation | ||
h | : | Move left/collapse |
j | : | Move down |
k | : | Move up |
l | : | Move right/expand |
Ctrl + l | : | Focus the DAG input field |