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 shortcutsApplication
Open settings, change the window view, and reach the built-in development tools in GitHub Desktop.
| Action | Shortcuts |
|---|---|
| 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 + - |
| Open developer tools | WindowsCtrl + Shift + I macOSOption + Cmd + I |
| Open the context menu | Windows / macOSShift + F10 |
Repositories
Add and switch repositories, clone from GitHub, and open the project in its related tools.
| Action | Shortcuts |
|---|---|
| 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 | WindowsDelete macOSCmd + Delete |
| Open the repository on GitHub | WindowsCtrl + Shift + G macOSCmd + Shift + G |
| Open the repository in a terminal | Windows / macOS` |
| 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 |
| Open the selected issue | WindowsCtrl + I macOSCmd + I |
Branches and commits
Move between changed files and history, create branches, and commit the work that is staged in the current repository.
| Action | Shortcuts |
|---|---|
| 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 staged changes | WindowsCtrl + Enter macOSCmd + Enter |
| Select the highlighted file | 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 the default branch | WindowsCtrl + Shift + U macOSCmd + Shift + U |
| Compare branches | WindowsCtrl + Shift + B macOSCmd + Shift + B |
| Merge a branch | WindowsCtrl + Shift + M macOSCmd + Shift + M |
| Stash changes | WindowsCtrl + Shift + S macOSCmd + Shift + S |
| Open stashed changes | Windows / macOSCtrl + H |
| Compare commits | WindowsCtrl + Shift + C macOSCmd + Shift + C |
| Create or open a pull request | WindowsCtrl + R macOSCmd + R |
Source
official GitHub Desktop keyboard shortcuts · Checked
GitHub publishes separate macOS and Windows tables. This record covers the desktop application, not browser shortcuts or terminal commands. Windows uses Control where macOS uses Command, with the platform-specific full-screen and developer-tool commands preserved.