Skip to the main content

GitHub Desktop keyboard shortcuts

Repositories, branches, commits, and sync in the GitHub Desktop app.

37 shortcuts Mac and Windows checked September 14, 2026

Print all 37 shortcuts One sheet with every shortcut in this app, ready for the printer or a PDF.

21 actions and 21 key variants match.

Search all apps

Matching shortcuts
Action Keys Row actions
Add a new repository Repositories Mac CmdN Source
Add a local repository Repositories Mac CmdO Source
Clone a repository from GitHub Repositories Mac ShiftCmdO Source
Push your latest commits Repositories Mac CmdP Source
Pull the latest changes Repositories Mac ShiftCmdP Source
Remove a repository Repositories Mac CmdDelete Source
Show the repository files Repositories Mac ShiftCmdF Source
Create an issue on GitHub Repositories Mac CmdI Source
Show your uncommitted changes Branches Mac Cmd1 Source
Show every branch Branches Mac CmdB Source
Commit the changes Commit field active Mac CmdEnter Source
Create a new branch Branches Mac ShiftCmdN Source
Rename the current branch Branches Mac ShiftCmdR Source
Delete the current branch Branches Mac ShiftCmdD Source
Update from the default branch Branches Mac ShiftCmdU Source
Compare to another branch Branches Mac ShiftCmdB Source
Merge into the current branch Branches Mac ShiftCmdM Source
Stash your current changes Branches Mac ShiftCmdS Source
Show or hide stashed changes Branches Mac CtrlH Source
Compare branches on GitHub Branches Mac ShiftCmdC Source
Show the current pull request Branches Mac CmdR Source

About GitHub Desktop and its shortcuts

GitHub Desktop exists to make the everyday Git loop safe for people who do not want a terminal, and its shortcuts match that loop: switching repositories and branches, committing, pushing, pulling and opening the current repository in an editor or a shell.

The command set is small and changes with the application rather than with Git, so an outdated installation can differ. Some commands only make sense, and only work, when a repository is open and has changes.

Where the GitHub Desktop keys came from

Read from 1 documentation page published by the makers of GitHub Desktop. Report a key that is wrong

To see how one action is done in other apps as well as GitHub Desktop, browse the shortcuts by task. Shortcuts by task