GitHub Desktop keyboard shortcuts on macOS
Application wide shortcuts
Keyboard shortcut | Description |
---|---|
Command+, | Go to Preferences |
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 |
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 |
Shift+Command+D | Delete the current branch |
Shift+Command+U | Update from default branch |
Shift+Command+B | Compare to an existing branch |
Shift+Command+M | Merge into current branch |
Shift+Command+S | Stash current changes |
Control+H | Show or hide stashed changes |
Shift+Command+C | Compare branches on GitHub |
Command+R | Show the current pull request on GitHub |
GitHub Desktop keyboard shortcuts on Windows
Application wide shortcuts
Keyboard shortcut | Description |
---|---|
Ctrl+, | Go to Options |
F11 | Toggle full screen view |
Ctrl+0 | Reset zoom to default text size |
Ctrl+= | Zoom in for larger text and graphics |
Ctrl+- | Zoom out for smaller text and graphics |
Ctrl+8 | Decrease active pane width |
Ctrl+9 | Increase active pane width |
Ctrl+Shift+I | Toggle Developer Tools |
Repositories
Keyboard Shortcut | Description |
---|---|
Ctrl+N | Add a new repository |
Ctrl+O | Add a local repository |
Ctrl+Shift+O | Clone a repository from GitHub |
Ctrl+T | Show a list of your repositories |
Ctrl+P | Push the latest commits to GitHub |
Ctrl+Shift+P | Pull down the latest changes from GitHub |
Ctrl+Delete | Remove an existing repository |
Ctrl+Shift+G | View the repository on GitHub |
Ctrl+` | Open repository in your preferred command line tool |
Ctrl+Shift+F | Show the repository in Explorer |
Ctrl+Shift+A | Open the repository in your preferred editor tool |
Ctrl+I | Create an issue on GitHub |
Branches
Keyboard shortcut | Description |
---|---|
Ctrl+1 | Show all your changes before committing |
Ctrl+2 | Show your commit history |
Ctrl+B | Show all your branches |
Ctrl+G | Go to the commit summary field |
Ctrl+Enter | Commit changes when summary or description field is active |
Space | Select or deselect all highlighted files |
Ctrl+Shift+N | Create a new branch |
Ctrl+Shift+R | Rename the current branch |
Ctrl+Shift+D | Delete the current branch |
Ctrl+Shift+U | Update from default branch |
Ctrl+Shift+B | Compare to an existing branch |
Ctrl+Shift+M | Merge into current branch |
Ctrl+Shift+S | Stash current changes |
Ctrl+H | Show or hide stashed changes |
Ctrl+Shift+C | Compare branches on GitHub |
Ctrl+R | Show the current pull request on GitHub |