Press ? in the app to see this list at any time. Single-letter shortcuts work when the log has focus and you are not typing in a field.
| Action |
macOS |
Windows / Linux |
| New child revision |
N or ⌘N |
N or Ctrl+N |
Edit here (move @ to the commit) |
E |
E |
| Describe (set the commit message) |
D |
D |
| Squash into parent |
S |
S |
| Rebase / reorder (two or more commits selected) |
R |
R |
| Absorb (route changes to ancestors; working copy only) |
A |
A |
| Create / move bookmark |
B |
B |
| Abandon commit |
⌫ |
Delete |
| Action |
macOS |
Windows / Linux |
Go to @ (scroll to the working copy) |
G |
G |
| Clear selection |
Esc |
Esc |
| Move selection |
↑ / ↓ |
↑ / ↓ |
| Extend selection |
⇧↑ / ⇧↓ |
Shift+↑ / Shift+↓ |
| Toggle multi-select |
⌘+click |
Ctrl+click |
| Action |
macOS |
Windows / Linux |
| Find in the log |
⌘F |
Ctrl+F |
| Next match |
⌘G or F3 |
Ctrl+G or F3 |
| Previous match |
⌘⇧G or ⇧F3 |
Ctrl+Shift+G or Shift+F3 |
| Search files |
⌘⇧F |
Ctrl+Shift+F |
| Action |
macOS |
Windows / Linux |
| Command palette |
⌘K |
Ctrl+K |
Commit (describe @ + new child) |
⌘↩ |
Ctrl+Enter |
| Undo (any operation) |
⌘Z |
Ctrl+Z |
| Redo |
⌘⇧Z |
Ctrl+Shift+Z |
| Show / hide the activity panel |
⌘⇧A |
Ctrl+Shift+A |
| Show / hide the terminal |
⌃` |
Ctrl+` |
| Show keyboard shortcuts |
? |
? |
| Action |
macOS |
Windows / Linux |
| Init repository |
⌘⇧N |
Ctrl+Shift+N |
| Clone repository |
⌘⇧O |
Ctrl+Shift+O |
| Open repository |
⌘O |
Ctrl+O |
| Reopen / refresh |
F5 |
F5 |
| Action |
macOS |
Windows / Linux |
| Zoom in |
⌘= |
Ctrl+= |
| Zoom out |
⌘- |
Ctrl+- |
| Actual size |
⌘0 |
Ctrl+0 |
Everything else — push, fetch, split, revert, and the rest of the revision menu — is one search away in the command palette (⌘K / Ctrl+K).