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.

Matching shortcuts
Action Keys Row actions
Merge into the current branch Branches Mac ShiftCmdM 1 more variant Source
Stash your current changes Branches Mac ShiftCmdS 1 more variant Source
Show or hide stashed changes Branches Mac CtrlH 1 more variant Source
Compare branches on GitHub Branches Mac ShiftCmdC 1 more variant Source
Show the current pull request Branches Mac CmdR 1 more variant Source
Quit GitHub Desktop Anywhere Mac CmdQ Source
Hide GitHub Desktop Anywhere Mac CmdH 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