Skip to content

Keyboard shortcuts

⌘/ shows this list in the app. On Windows and Linux, ⌘ is Ctrl and ⌥ is Alt. Single-letter shortcuts like S work when no text field has the keyboard.

Settings → Shortcuts lets you give any command other keys. Click a shortcut and press the new keys; Esc cancels and Delete removes it. Keys used by text editing or the system (⌘C, ⌘V, ⌘Q and so on) can’t be taken.

Keys Action
⌘B Create branch
⌘L Fetch all
S Stage the current file
⇧⌘S Stage all files
U Unstage the current file
⇧⌘U Unstage all files
⌘Enter Commit staged files
⇧⌘Enter Stage all files and commit
⇧⌘M Focus the commit message
⌥⌘S Stash changes
⌫ Delete the selected remote branch
⌘R Refresh
Keys Action
J or ↓ Next (older) item
K or ↑ Previous (newer) item
⇧J / ⇧K Next / previous item on the same branch
⇧↓ / ⇧↑ Add the next / previous commit to the selection
⌘↑ / ⌘↓ First / last commit in the graph
⌘Z Undo
⌘Y or ⇧⌘Z Redo
Keys Action
⌘P or ⇧⌘P Command palette
⌘F Search commits (or find in the focused diff)
⌘G / ⇧⌘G Next / previous match
⇧⌘O Open a repository from the palette
⌘O Open a repository folder
⇧⌘H File history and blame
⌥T Open the repository in a terminal
⌥O Open the repository in the file manager
⌘D Open in the diff or merge tool
Keys Action
⌃⌘F Full screen
⌘= / ⌘− / ⌘0 Zoom in / out / reset
⌘J Toggle the left panel
⌥⌘F Filter the left panel
⌘K Toggle the details panel
⌘` Toggle the terminal
⌃⇧` New terminal tab
⇧⌘] / ⇧⌘[ Next / previous terminal tab
⇧⌘F Maximize or restore an AI explanation
⌘/ Show keyboard shortcuts
⌘, Settings
Esc Close the current panel
Keys Action
⌘T New tab
⌘W Close the tab
⌘1 … ⌘9 Go to tab 1 … 9
⌃Tab / ⌃⇧Tab Next / previous tab