GitHub Desktop keyboard shortcuts

GitHub Desktop gives you Git without the command line: you clone, branch, and commit from an app window. Its keys add and switch repositories, create branches, step through changed files and history, commit your work, and open settings.

Windows, macOS · 35 shortcuts

Application

Open settings, change the window view, and reach the built-in development tools in GitHub Desktop.

ActionShortcuts
Open settings or options
WindowsCtrl + ,
macOSCmd + ,
Toggle fullscreen
WindowsF11
macOSCtrl + Cmd + F
Reset zoom
WindowsCtrl + 0
macOSCmd + 0
Zoom in
WindowsCtrl + =
macOSCmd + =
Zoom out
WindowsCtrl + -
macOSCmd + -
Show or hide developer tools
WindowsCtrl + Shift + I
macOSOption + Cmd + I
Open the context menu
WindowsNot documented
macOSShift + F10

Repositories

Add and switch repositories, clone from GitHub, and open the project in its related tools.

ActionShortcuts
Add a new repository
WindowsCtrl + N
macOSCmd + N
Add an existing local repository
WindowsCtrl + O
macOSCmd + O
Clone a repository
WindowsCtrl + Shift + O
macOSCmd + Shift + O
Open the repository list
WindowsCtrl + T
macOSCmd + T
Push to the remote
WindowsCtrl + P
macOSCmd + P
Pull from the remote
WindowsCtrl + Shift + P
macOSCmd + Shift + P
Remove the current repository
WindowsCtrl + Delete
macOSCmd + Delete
Open the repository on GitHub
WindowsCtrl + Shift + G
macOSCmd + Shift + G
Open the repository in a terminal
Windows / macOSCtrl + `
Open the repository in the file manager
WindowsCtrl + Shift + F
macOSCmd + Shift + F
Open the repository in an editor
WindowsCtrl + Shift + A
macOSCmd + Shift + A
Create an issue on GitHub
WindowsCtrl + I
macOSCmd + I

Branches and commits

Move between changed files and history, create branches, and commit the work in the current repository.

ActionShortcuts
Open the Changes view
WindowsCtrl + 1
macOSCmd + 1
Open the History view
WindowsCtrl + 2
macOSCmd + 2
Open the branch menu
WindowsCtrl + B
macOSCmd + B
Focus the commit summary
WindowsCtrl + G
macOSCmd + G
Commit from the summary or description field
WindowsCtrl + Enter
macOSCmd + Enter
Select or deselect all highlighted files
Windows / macOSSpace
Create a new branch
WindowsCtrl + Shift + N
macOSCmd + Shift + N
Rename the current branch
WindowsCtrl + Shift + R
macOSCmd + Shift + R
Delete the current branch
WindowsCtrl + Shift + D
macOSCmd + Shift + D
Update from the default branch
WindowsCtrl + Shift + U
macOSCmd + Shift + U
Compare to an existing branch
WindowsCtrl + Shift + B
macOSCmd + Shift + B
Merge into the current branch
WindowsCtrl + Shift + M
macOSCmd + Shift + M
Stash changes
WindowsCtrl + Shift + S
macOSCmd + Shift + S
Show or hide stashed changes
Windows / macOSCtrl + H
Compare branches on GitHub
WindowsCtrl + Shift + C
macOSCmd + Shift + C
Show the current pull request on GitHub
WindowsCtrl + R
macOSCmd + R

Source

official GitHub Desktop keyboard shortcuts · Checked

The GitHub Desktop app, not the website or terminal. Windows uses Ctrl where macOS uses Command; full-screen and developer tools keys differ.

Make a printable GitHub Desktop sheet