The Wayback Machine - https://web.archive.org/web/20211011123707/https://docs.github.com/en/desktop/installing-and-configuring-github-desktop/overview/keyboard-shortcuts

Keyboard shortcuts

You can use keyboard shortcuts in GitHub Desktop.

GitHub Desktop keyboard shortcuts on macOS

Site wide shortcuts

Keyboard shortcutDescription
⌘,Go to Preferences
⌘HHide the GitHub Desktop application
⌥⌘HHide all other applications
⌘QQuit GitHub Desktop
⌃⌘FToggle full screen view
⌘0Reset zoom to default text size
⌘=Zoom in for larger text and graphics
⌘-Zoom out for smaller text and graphics
⌥⌘IToggle Developer Tools

Repositories

Keyboard shortcutDescription
⌘NAdd a new repository
⌘OAdd a local repository
⇧⌘OClone a repository from GitHub
⌘TShow a list of your repositories
⌘PPush the latest commits to GitHub
⇧⌘PPull down the latest changes from GitHub
⌘⌫Remove an existing repository
⇧⌘GView the repository on GitHub
⌃`Open repository in your preferred terminal tool
⇧⌘FShow the repository in Finder
⇧⌘AOpen the repository in your preferred editor tool
⌘ICreate an issue on GitHub

Branches

Keyboard shortcutDescription
⌘1Show all your changes before committing
⌘2Show your commit history
⌘BShow all your branches
⌘GGo to the commit summary field
⌘EnterCommit changes when summary or description field is active
spaceSelect or deselect all highlighted files
⇧⌘NCreate a new branch
⇧⌘RRename the current branch
⇧⌘DDelete the current branch
⇧⌘UUpdate from default branch
⇧⌘BCompare to an existing branch
⇧⌘MMerge into current branch
⌃HShow or hide stashed changes
⇧⌘CCompare branches on GitHub
⌘RShow the current pull request on GitHub

GitHub Desktop keyboard shortcuts on Windows

Site wide shortcuts

Keyboard shortcutDescription
Ctrl,Go to Options
F11Toggle full screen view
Ctrl0Reset zoom to default text size
Ctrl=Zoom in for larger text and graphics
Ctrl-Zoom out for smaller text and graphics
CtrlShiftIToggle Developer Tools

Repositories

Keyboard ShortcutDescription
CtrlNAdd a new repository
CtrlOAdd a local repository
CtrlShiftOClone a repository from GitHub
CtrlTShow a list of your repositories
CtrlPPush the latest commits to GitHub
CtrlShiftPPull down the latest changes from GitHub
CtrlDeleteRemove an existing repository
CtrlShiftGView the repository on GitHub
Ctrl`Open repository in your preferred command line tool
CtrlShiftFShow the repository in Explorer
CtrlShiftAOpen the repository in your preferred editor tool
CtrlICreate an issue on GitHub

Branches

Keyboard shortcutDescription
Ctrl1Show all your changes before committing
Ctrl2Show your commit history
CtrlBShow all your branches
CtrlGGo to the commit summary field
CtrlEnterCommit changes when summary or description field is active
spaceSelect or deselect all highlighted files
CtrlShiftNCreate a new branch
CtrlShiftRRename the current branch
CtrlShiftDDelete the current branch
CtrlShiftUUpdate from default branch
CtrlShiftBCompare to an existing branch
CtrlShiftMMerge into current branch
CtrlHShow or hide stashed changes
CtrlShiftCCompare branches on GitHub
CtrlRShow the current pull request on GitHub

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.