GitHub Desktop keyboard shortcuts on macOS
Site wide shortcuts
| Keyboard shortcut | Description |
|---|---|
| ⌘, | Go to Preferences |
| ⌘H | Hide the GitHub Desktop application |
| ⌥⌘H | Hide all other applications |
| ⌘Q | Quit GitHub Desktop |
| ⌃⌘F | Toggle full screen view |
| ⌘0 | Reset zoom to default text size |
| ⌘= | Zoom in for larger text and graphics |
| ⌘- | Zoom out for smaller text and graphics |
| ⌥⌘I | Toggle Developer Tools |
Repositories
| Keyboard shortcut | Description |
|---|---|
| ⌘N | Add a new repository |
| ⌘O | Add a local repository |
| ⇧⌘O | Clone a repository from GitHub |
| ⌘T | Show a list of your repositories |
| ⌘P | Push the latest commits to GitHub |
| ⇧⌘P | Pull down the latest changes from GitHub |
| ⌘⌫ | Remove an existing repository |
| ⇧⌘G | View the repository on GitHub |
| ⌃` | Open repository in your preferred terminal tool |
| ⇧⌘F | Show the repository in Finder |
| ⇧⌘A | Open the repository in your preferred editor tool |
| ⌘I | Create an issue on GitHub |
Branches
| Keyboard shortcut | Description |
|---|---|
| ⌘1 | Show all your changes before committing |
| ⌘2 | Show your commit history |
| ⌘B | Show all your branches |
| ⌘G | Go to the commit summary field |
| ⌘Enter | Commit changes when summary or description field is active |
| space | Select or deselect all highlighted files |
| ⇧⌘N | Create a new branch |
| ⇧⌘R | Rename the current branch |
| ⇧⌘D | Delete the current branch |
| ⇧⌘U | Update from default branch |
| ⇧⌘B | Compare to an existing branch |
| ⇧⌘M | Merge into current branch |
| ⌃H | Show or hide stashed changes |
| ⇧⌘C | Compare branches on GitHub |
| ⌘R | Show the current pull request on GitHub |
GitHub Desktop keyboard shortcuts on Windows
Site wide shortcuts
| Keyboard shortcut | Description |
|---|---|
| Ctrl, | Go to Options |
| F11 | Toggle full screen view |
| Ctrl0 | Reset zoom to default text size |
| Ctrl= | Zoom in for larger text and graphics |
| Ctrl- | Zoom out for smaller text and graphics |
| CtrlShiftI | Toggle Developer Tools |
Repositories
| Keyboard Shortcut | Description |
|---|---|
| CtrlN | Add a new repository |
| CtrlO | Add a local repository |
| CtrlShiftO | Clone a repository from GitHub |
| CtrlT | Show a list of your repositories |
| CtrlP | Push the latest commits to GitHub |
| CtrlShiftP | Pull down the latest changes from GitHub |
| CtrlDelete | Remove an existing repository |
| CtrlShiftG | View the repository on GitHub |
| Ctrl` | Open repository in your preferred command line tool |
| CtrlShiftF | Show the repository in Explorer |
| CtrlShiftA | Open the repository in your preferred editor tool |
| CtrlI | Create an issue on GitHub |
Branches
| Keyboard shortcut | Description |
|---|---|
| Ctrl1 | Show all your changes before committing |
| Ctrl2 | Show your commit history |
| CtrlB | Show all your branches |
| CtrlG | Go to the commit summary field |
| CtrlEnter | Commit changes when summary or description field is active |
| space | Select or deselect all highlighted files |
| CtrlShiftN | Create a new branch |
| CtrlShiftR | Rename the current branch |
| CtrlShiftD | Delete the current branch |
| CtrlShiftU | Update from default branch |
| CtrlShiftB | Compare to an existing branch |
| CtrlShiftM | Merge into current branch |
| CtrlH | Show or hide stashed changes |
| CtrlShiftC | Compare branches on GitHub |
| CtrlR | Show the current pull request on GitHub |

