---
title: GitHub Desktop keyboard shortcuts
shortTitle: Keyboard shortcuts
intro: 'You can use keyboard shortcuts in {% data variables.product.prodname_desktop %}.'
redirect_from:
- /desktop/getting-started-with-github-desktop/keyboard-shortcuts-in-github-desktop
- /desktop/getting-started-with-github-desktop/keyboard-shortcuts
- /desktop/installing-and-configuring-github-desktop/keyboard-shortcuts
- /desktop/installing-and-configuring-github-desktop/overview/keyboard-shortcuts
- /desktop/installing-and-configuring-github-desktop/overview/github-desktop-keyboard-shortcuts
versions:
fpt: '*'
ghec: '*'
ghes: '*'
---
{% mac %}
GitHub Desktop keyboard shortcuts on macOS
## Application wide shortcuts
| Keyboard shortcut | Description
|-----------|------------
|Command+, | Display the Settings window
|Command+H | Hide the {% data variables.product.prodname_desktop %} application
|Option+Command+H | Hide all other applications
|Command+Q | Quit {% data variables.product.prodname_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 {% data variables.product.prodname_dotcom %}
|Command+T | Show a list of your repositories
|Command+P | Push the latest commits to {% data variables.product.prodname_dotcom %}
|Shift+Command+P | Pull down the latest changes from {% data variables.product.prodname_dotcom %}
|Command+Delete | Remove an existing repository
|Shift+Command+G | View the repository on {% data variables.product.prodname_dotcom %}
|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 {% data variables.product.prodname_dotcom %}
## 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 {% data variables.product.prodname_dotcom %}
|Command+R | Show the current pull request on {% data variables.product.prodname_dotcom %}
{% endmac %}
{% windows %}
GitHub Desktop keyboard shortcuts on Windows
## Application wide shortcuts
| Keyboard shortcut | Description
|-----------|------------
|Ctrl+, | Display the Options window
|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 {% data variables.product.prodname_dotcom %}
|Ctrl+T | Show a list of your repositories
|Ctrl+P | Push the latest commits to {% data variables.product.prodname_dotcom %}
|Ctrl+Shift+P | Pull down the latest changes from {% data variables.product.prodname_dotcom %}
|Ctrl+Delete | Remove an existing repository
|Ctrl+Shift+G | View the repository on {% data variables.product.prodname_dotcom %}
|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 {% data variables.product.prodname_dotcom %}
## 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 {% data variables.product.prodname_dotcom %}
|Ctrl+R | Show the current pull request on {% data variables.product.prodname_dotcom %}
{% endwindows %}