GitHub Desktop Keyboard Shortcuts

GitHub Desktop keyboard shortcut reference covering 22 bindings for Windows & Mac. Commonly searched bindings include Show Changes, Push, and Pull. 22 of 22 shortcuts are verified against official GitHub Desktop documentation, each with a linked source when available. Search by action name, filter by category, look up what a key combination does, print a cheat sheet, or practice with flashcards.

Official GitHub Desktop documentation

File

ActionDescriptionWindowsMacVerifiedSource
Clone Repository Clone repository Ctrl+Shift+O Cmd+Shift+O Yes Source
Add Local Repository Add existing repo Ctrl+O Cmd+O Yes Source
Create Repository Create new repository Ctrl+N Cmd+N Yes Source

General

ActionDescriptionWindowsMacVerifiedSource
Repository Settings Repository settings Ctrl+, Cmd+, Yes Source
Preferences Preferences Ctrl+, Cmd+, Yes Source

Git

ActionDescriptionWindowsMacVerifiedSource
Push Push to origin Ctrl+P Cmd+P Yes Source
Pull Pull from origin Ctrl+Shift+P Cmd+Shift+P Yes Source
Fetch Fetch origin Ctrl+Shift+T Cmd+Shift+T Yes Source
Commit Commit to main Ctrl+Enter Cmd+Enter Yes Source
Amend Commit Amend last commit Ctrl+Shift+A Cmd+Shift+A Yes Source
Undo Undo last commit Ctrl+Z Cmd+Z Yes Source
Discard Changes Discard all changes Ctrl+Shift+Backspace Cmd+Shift+Backspace Yes Source
New Branch Create new branch Ctrl+Shift+N Cmd+Shift+N Yes Source
Switch Branch Choose branch Ctrl+Shift+B Cmd+Shift+B Yes Source
Merge Branch Merge into current Ctrl+Shift+M Cmd+Shift+M Yes Source
Stash Stash all changes Ctrl+Shift+S Cmd+Shift+S Yes Source
Pop Stash Restore stashed changes Ctrl+Shift+O Cmd+Shift+O Yes Source

Navigation

ActionDescriptionWindowsMacVerifiedSource
Show Changes Show changes Ctrl+1 Cmd+1 Yes Source
Show History Show history Ctrl+2 Cmd+2 Yes Source
Open in Editor Open in external editor Ctrl+Shift+A Cmd+Shift+A Yes Source
View on GitHub View on GitHub Ctrl+Shift+G Cmd+Shift+G Yes Source

Terminal

ActionDescriptionWindowsMacVerifiedSource
Open in Shell Open in terminal Ctrl+` Cmd+` Yes Source

← All apps on Shortcut Atlas

Loading Shortcut Atlas…