Skip to Content
DocumentationBureauRaccourcis

Shortcuts

Cmd below means Cmd on macOS and Ctrl on Windows and Linux. Text fields keep the platform’s normal editing shortcuts.

Global

ActionShortcut
Command paletteCmd + K
PreferencesCmd + ,
New windowCmd + N
Close windowCmd + W
Toggle the app window (system-wide)CmdOrCtrl + Shift + O by default

The system-wide shortcut is registered by the application, not by the operating system, and can be changed or disabled in Settings → General. If registration fails — another application already owns the combination — the setting reports it and the shortcut stays off.

Repository

ActionShortcut
Open repositoryCmd + O
Quick open a fileCmd + P
Go to the workbenchCmd + Shift + G
Search filesCmd + Shift + F
Next / previous repository tabCtrl + Tab / Ctrl + Shift + Tab

Workbench tabs

ActionShortcut
FilesCmd + 1
ChangesCmd + 2
HistoryCmd + 3
BranchesCmd + 4
StashesCmd + 5

Changes and commit

ActionShortcut
Stage or unstage the selectionSpace
Discard the selectionBackspace or Delete
Commit the staged changesCmd + Enter
Find inside the diffCmd + F
Close the find barEsc

Discarding asks for confirmation and writes a recovery snapshot first. Space on a file row stages the whole file; inside the diff it stages the selected hunk or lines.

Sync

ActionShortcut
PushCmd + Shift + P

Fetch and pull have no default shortcut; both are buttons in the sync bar and entries in the command palette.

Files

ActionShortcut
Copy / cut / paste a fileCmd + C / Cmd + X / Cmd + V
Delete a fileDelete or Backspace
Next / previous file in a search resultDown / Up, then Enter

The command palette

Cmd + K lists every action the current context offers, grouped as Recent, Repository, Git, Branch, Stash, View, AI and Preferences. Typing filters by name; Enter runs the highlighted command. Commands that need a repository are absent, not disabled, when no repository is open.

The palette is the discoverable surface for actions that have no shortcut: fetch tags, pull LFS, open the recovery centre, run the repository health check, switch theme, change language.

Changing shortcuts

Only the system-wide shortcut is user-editable. In-app shortcuts are fixed so that documentation, the palette hints and the settings grid always agree. If a key conflicts with an input field, the field wins while it has focus.

Dernière mise à jour