GitHub Desktop keyboard shortcuts on macOS
Application wide shortcuts
| Keyboard shortcut | Description |
|---|---|
| Command+, | Display the Settings window |
| Command+H | Hide the GitHub Desktop application |
| Option+Command+H | Hide all other applications |
| Command+Q | Quit GitHub Desktop |
| Control+Command+F | Toggle full screen view |
| Command+0 | Reset zoom to default text size |
| Command+= | Zoom in for larger text and graphics |
| Command+- | Zoom out for smaller text and graphics |
| Command+8 | Decrease active pane width |
| Command+9 | Increase active pane width |
| Option+Command+I | Toggle Developer Tools |
| Shift+F10 | Open context menu of selected component |
Repositories
| Keyboard shortcut | Description |
|---|---|
| Command+N | Add a new repository |
| Command+O | Add a local repository |
| Shift+Command+O | Clone a repository from GitHub |
| Command+T | Show a list of your repositories |
| Command+P | Push the latest commits to GitHub |
| Shift+Command+P | Pull down the latest changes from GitHub |
| Command+Delete | Remove an existing repository |
| Shift+Command+G | View the repository on GitHub |
| Control+` | Open repository in your preferred terminal tool |
| Shift+Command+F | Show the repository in Finder |
| Shift+Command+A | Open the repository in your preferred editor tool |
| Command+I | Create an issue on GitHub |
Branches
| Keyboard shortcut | Description |
|---|---|
| Command+1 | Show all your changes before committing |
| Command+2 | Show your commit history |
| Command+B | Show all your branches |
| Command+G | Go to the commit summary field |
| Command+Enter | Commit changes when summary or description field is active |
| Space | Select or deselect all highlighted files |
| Shift+Command+N | Create a new branch |
| Shift+Command+R | Rename the current branch |