GitHub Desktop keyboard shortcuts
GitHub Desktop's shortcuts cover repository setup, branch work, commit flow, and the views that developers use while reviewing changes. Mac and Windows bindings come directly from GitHub's current desktop reference.
Windows, macOS · 35 shortcutsApplication
Open settings, change the window view, and reach the built-in development tools in GitHub Desktop.
| Action | Windows | macOS |
|---|---|---|
| Open settings or options | Ctrl, | Cmd, |
| Toggle fullscreen | F11 | CtrlCmdF |
| Reset zoom | Ctrl0 | Cmd0 |
| Zoom in | Ctrl= | Cmd= |
| Zoom out | Ctrl- | Cmd- |
| Open developer tools | CtrlShiftI | OptionCmdI |
| Open the context menu | ShiftF10 | ShiftF10 |
Repositories
Add and switch repositories, clone from GitHub, and open the project in its related tools.
| Action | Windows | macOS |
|---|---|---|
| Add a new repository | CtrlN | CmdN |
| Add an existing local repository | CtrlO | CmdO |
| Clone a repository | CtrlShiftO | CmdShiftO |
| Open the repository list | CtrlT | CmdT |
| Push to the remote | CtrlP | CmdP |
| Pull from the remote | CtrlShiftP | CmdShiftP |
| Remove the current repository | Delete | CmdDelete |
| Open the repository on GitHub | CtrlShiftG | CmdShiftG |
| Open the repository in a terminal | ` | ` |
| Open the repository in the file manager | CtrlShiftF | CmdShiftF |
| Open the repository in an editor | CtrlShiftA | CmdShiftA |
| Open the selected issue | CtrlI | CmdI |
Branches and commits
Move between changed files and history, create branches, and commit the work that is staged in the current repository.
| Action | Windows | macOS |
|---|---|---|
| Open the Changes view | Ctrl1 | Cmd1 |
| Open the History view | Ctrl2 | Cmd2 |
| Open the branch menu | CtrlB | CmdB |
| Focus the commit summary | CtrlG | CmdG |
| Commit staged changes | CtrlEnter | CmdEnter |
| Select the highlighted file | Space | Space |
| Create a new branch | CtrlShiftN | CmdShiftN |
| Rename the current branch | CtrlShiftR | CmdShiftR |
| Delete the current branch | CtrlShiftD | CmdShiftD |
| Update the default branch | CtrlShiftU | CmdShiftU |
| Compare branches | CtrlShiftB | CmdShiftB |
| Merge a branch | CtrlShiftM | CmdShiftM |
| Stash changes | CtrlShiftS | CmdShiftS |
| Open stashed changes | CtrlH | CtrlH |
| Compare commits | CtrlShiftC | CmdShiftC |
| Create or open a pull request | CtrlR | CmdR |