Keyboard shortcuts
Cmd on macOS, Ctrl on Windows and Linux. Settings lists every binding for the platform you are on.
Cmd on macOS, Ctrl on Windows and Linux. Settings → Keyboard Shortcuts lists every binding for the platform you are on. Context menus that share a binding (AI actions, stash, current-branch push and pull) show the same keys as key-cap badges.
Shortcuts stand down while you are typing, while a dialog is open, and — apart from repository-tab switching — while the terminal has focus. Bindings are not customisable yet.
Window and tabs
| Action | Shortcut |
|---|---|
| Repository tab 1–8 | ⌘1…⌘8 |
| Last repository tab | ⌘9 |
| Previous / next tab (macOS) | ⌘⇧[ / ⌘⇧] |
| Previous / next tab (Windows / Linux) | Ctrl+PgUp / Ctrl+PgDn |
| Commits view | ⌘⇧1 |
| Pull Requests view | ⌘⇧2 |
| Settings | ⌘, |
| Show or hide the terminal | ⌘T |
| Back to the commit graph | Home |
History, branch, working tree
| Action | Shortcut |
|---|---|
| Branch navigator | ⌘⌥F |
| Search commit history | ⌘F |
| Move the commit selection | ↑ / ↓ (Shift extends the range) |
| AI actions | ⌘⇧A |
| Review all files | ⌘Enter |
| Push the current branch | ⌘⇧P |
| Pull the current branch | ⌘⇧L |
| New branch from HEAD | ⌘B |
| Stash working changes | ⌘⇧S |
Click selects a commit; Shift-click selects the range; ⌘-click adds or removes one. On Windows and Linux, every ⌘ above is Ctrl.
Editors and dialogs
| Action | Shortcut |
|---|---|
| Submit the focused form (commit, comment, prompt, or Run in AI actions) | ⌘Enter |
| Save the open file | ⌘S |
| Move through the changed-file list | ↑ / ↓ |
| Close the open dialog, menu, or popover | Esc |
Good to know
Shortcuts do not fire while you are typing into a field, while a dialog is open, or — except for repository-tab switching — while the terminal has focus.
Full walkthrough: Keyboard shortcuts.
Installers: Download GitLane.