{"meta":{"title":"GitHub Desktop keyboard shortcuts","intro":"You can use keyboard shortcuts in GitHub Desktop.","product":"GitHub Desktop","breadcrumbs":[{"href":"/en/enterprise-cloud@latest/desktop","title":"GitHub Desktop"},{"href":"/en/enterprise-cloud@latest/desktop/overview","title":"Overview"},{"href":"/en/enterprise-cloud@latest/desktop/overview/github-desktop-keyboard-shortcuts","title":"Keyboard shortcuts"}],"documentType":"article"},"body":"# GitHub Desktop keyboard shortcuts\n\nYou can use keyboard shortcuts in GitHub Desktop.\n\n<div class=\"ghd-tool mac\">\n\nGitHub Desktop keyboard shortcuts on macOS\n\n## Application wide shortcuts\n\n| Keyboard shortcut | Description\n|-----------|------------\n|<kbd>Command</kbd>+<kbd>,</kbd> | Display the Settings window\n|<kbd>Command</kbd>+<kbd>H</kbd> | Hide the GitHub Desktop application\n|<kbd>Option</kbd>+<kbd>Command</kbd>+<kbd>H</kbd> | Hide all other applications\n|<kbd>Command</kbd>+<kbd>Q</kbd> | Quit GitHub Desktop\n|<kbd>Control</kbd>+<kbd>Command</kbd>+<kbd>F</kbd> | Toggle full screen view\n|<kbd>Command</kbd>+<kbd>0</kbd> | Reset zoom to default text size\n|<kbd>Command</kbd>+<kbd>=</kbd> | Zoom in for larger text and graphics\n|<kbd>Command</kbd>+<kbd>-</kbd> | Zoom out for smaller text and graphics\n|<kbd>Command</kbd>+<kbd>8</kbd> | Decrease active pane width\n|<kbd>Command</kbd>+<kbd>9</kbd> | Increase active pane width\n|<kbd>Option</kbd>+<kbd>Command</kbd>+<kbd>I</kbd> | Toggle Developer Tools\n|<kbd>Shift</kbd>+<kbd>F10</kbd> | Open context menu of selected component\n\n## Repositories\n\n| Keyboard shortcut | Description\n|-----------|------------\n|<kbd>Command</kbd>+<kbd>N</kbd> | Add a new repository\n|<kbd>Command</kbd>+<kbd>O</kbd> | Add a local repository\n|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>O</kbd> | Clone a repository from GitHub\n|<kbd>Command</kbd>+<kbd>T</kbd> | Show a list of your repositories\n|<kbd>Command</kbd>+<kbd>P</kbd> | Push the latest commits to GitHub\n|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>P</kbd> | Pull down the latest changes from GitHub\n|<kbd>Command</kbd>+<kbd>Delete</kbd> | Remove an existing repository\n|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>G</kbd> | View the repository on GitHub\n|<kbd>Control</kbd>+<kbd>&grave;</kbd> | Open repository in your preferred terminal tool\n|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>F</kbd> | Show the repository in Finder\n|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>A</kbd> | Open the repository in your preferred editor tool\n|<kbd>Command</kbd>+<kbd>I</kbd> | Create an issue on GitHub\n\n## Branches\n\n| Keyboard shortcut | Description\n|-----------|------------\n|<kbd>Command</kbd>+<kbd>1</kbd> | Show all your changes before committing\n|<kbd>Command</kbd>+<kbd>2</kbd> | Show your commit history\n|<kbd>Command</kbd>+<kbd>B</kbd> | Show all your branches\n|<kbd>Command</kbd>+<kbd>G</kbd> | Go to the commit summary field\n|<kbd>Command</kbd>+<kbd>Enter</kbd> | Commit changes when summary or description field is active\n|<kbd>Space</kbd>| Select or deselect all highlighted files\n|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>N</kbd> | Create a new branch\n|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>R</kbd> | Rename the current branch\n|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>D</kbd> | Delete the current branch\n|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>U</kbd> | Update from default branch\n|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>B</kbd> | Compare to an existing branch\n|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>M</kbd> | Merge into current branch\n|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>S</kbd> | Stash current changes\n|<kbd>Control</kbd>+<kbd>H</kbd> | Show or hide stashed changes\n|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>C</kbd> | Compare branches on GitHub\n|<kbd>Command</kbd>+<kbd>R</kbd> | Show the current pull request on GitHub\n\n</div>\n\n<div class=\"ghd-tool windows\">\n\nGitHub Desktop keyboard shortcuts on Windows\n\n## Application wide shortcuts\n\n| Keyboard shortcut | Description\n|-----------|------------\n|<kbd>Ctrl</kbd>+<kbd>,</kbd> | Display the Options window\n|<kbd>F11</kbd> | Toggle full screen view\n|<kbd>Ctrl</kbd>+<kbd>0</kbd> | Reset zoom to default text size\n|<kbd>Ctrl</kbd>+<kbd>=</kbd> | Zoom in for larger text and graphics\n|<kbd>Ctrl</kbd>+<kbd>-</kbd> | Zoom out for smaller text and graphics\n|<kbd>Ctrl</kbd>+<kbd>8</kbd> | Decrease active pane width\n|<kbd>Ctrl</kbd>+<kbd>9</kbd> | Increase active pane width\n|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>I</kbd> | Toggle Developer Tools\n\n## Repositories\n\n| Keyboard Shortcut | Description\n|-----------|------------\n|<kbd>Ctrl</kbd>+<kbd>N</kbd> | Add a new repository\n|<kbd>Ctrl</kbd>+<kbd>O</kbd> | Add a local repository\n|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>O</kbd> | Clone a repository from GitHub\n|<kbd>Ctrl</kbd>+<kbd>T</kbd> | Show a list of your repositories\n|<kbd>Ctrl</kbd>+<kbd>P</kbd> | Push the latest commits to GitHub\n|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> | Pull down the latest changes from GitHub\n|<kbd>Ctrl</kbd>+<kbd>Delete</kbd> | Remove an existing repository\n|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>G</kbd> | View the repository on GitHub\n|<kbd>Ctrl</kbd>+<kbd>&grave;</kbd> | Open repository in your preferred command line tool\n|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>F</kbd> | Show the repository in Explorer\n|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>A</kbd> | Open the repository in your preferred editor tool\n|<kbd>Ctrl</kbd>+<kbd>I</kbd> | Create an issue on GitHub\n\n## Branches\n\n| Keyboard shortcut | Description\n|-----------|------------\n|<kbd>Ctrl</kbd>+<kbd>1</kbd> | Show all your changes before committing\n|<kbd>Ctrl</kbd>+<kbd>2</kbd> | Show your commit history\n|<kbd>Ctrl</kbd>+<kbd>B</kbd> | Show all your branches\n|<kbd>Ctrl</kbd>+<kbd>G</kbd> | Go to the commit summary field\n|<kbd>Ctrl</kbd>+<kbd>Enter</kbd> | Commit changes when summary or description field is active\n|<kbd>Space</kbd>| Select or deselect all highlighted files\n|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>N</kbd> | Create a new branch\n|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>R</kbd> | Rename the current branch\n|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>D</kbd> | Delete the current branch\n|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>U</kbd> | Update from default branch\n|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>B</kbd> | Compare to an existing branch\n|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>M</kbd> | Merge into current branch\n|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>S</kbd> | Stash current changes\n|<kbd>Ctrl</kbd>+<kbd>H</kbd> | Show or hide stashed changes\n|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>C</kbd> | Compare branches on GitHub\n|<kbd>Ctrl</kbd>+<kbd>R</kbd> | Show the current pull request on GitHub\n\n</div>"}