Skip to main content

GitHub Desktop keyboard shortcuts

You can use keyboard shortcuts in GitHub Desktop.

Platform navigation

GitHub Desktop keyboard shortcuts on macOS

Application wide shortcuts

Keyboard shortcutDescription
Command+,Display the Settings window
Command+HHide the GitHub Desktop application
Option+Command+HHide all other applications
Command+QQuit GitHub Desktop
Control+Command+FToggle full screen view
Command+0Reset zoom to default text size
Command+=Zoom in for larger text and graphics
Command+-Zoom out for smaller text and graphics
Command+8Decrease active pane width
Command+9Increase active pane width
Option+Command+IToggle Developer Tools
Shift+F10Open context menu of selected component

Repositories

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

Branches

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