Skip to content

Update keyboard shortcuts to meet new Style guidelines #13889

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,52 +16,52 @@ GitHub Desktop keyboard shortcuts on macOS

| Keyboard shortcut | Description
|-----------|------------
|<kbd></kbd><kbd>,</kbd> | Go to Preferences
|<kbd></kbd><kbd>H</kbd> | Hide the {% data variables.product.prodname_desktop %} application
|<kbd></kbd><kbd></kbd><kbd>H</kbd> | Hide all other applications
|<kbd></kbd><kbd>Q</kbd> | Quit {% data variables.product.prodname_desktop %}
|<kbd></kbd><kbd></kbd><kbd>F</kbd> | Toggle full screen view
|<kbd></kbd><kbd>0</kbd> | Reset zoom to default text size
|<kbd></kbd><kbd>=</kbd> | Zoom in for larger text and graphics
|<kbd></kbd><kbd>-</kbd> | Zoom out for smaller text and graphics
|<kbd></kbd><kbd></kbd><kbd>I</kbd> | Toggle Developer Tools
|<kbd>Command</kbd>+<kbd>,</kbd> | Go to Preferences
|<kbd>Command</kbd>+<kbd>H</kbd> | Hide the {% data variables.product.prodname_desktop %} application
|<kbd>Option</kbd>+<kbd>Command</kbd>+<kbd>H</kbd> | Hide all other applications
|<kbd>Command</kbd>+<kbd>Q</kbd> | Quit {% data variables.product.prodname_desktop %}
|<kbd>Control</kbd>+<kbd>Command</kbd>+<kbd>F</kbd> | Toggle full screen view
|<kbd>Command</kbd>+<kbd>0</kbd> | Reset zoom to default text size
|<kbd>Command</kbd>+<kbd>=</kbd> | Zoom in for larger text and graphics
|<kbd>Command</kbd>+<kbd>-</kbd> | Zoom out for smaller text and graphics
|<kbd>Option</kbd>+<kbd>Command</kbd>+<kbd>I</kbd> | Toggle Developer Tools

## Repositories

| Keyboard shortcut | Description
|-----------|------------
|<kbd></kbd><kbd>N</kbd> | Add a new repository
|<kbd></kbd><kbd>O</kbd> | Add a local repository
|<kbd></kbd><kbd></kbd><kbd>O</kbd> | Clone a repository from {% data variables.product.prodname_dotcom %}
|<kbd></kbd><kbd>T</kbd> | Show a list of your repositories
|<kbd></kbd><kbd>P</kbd> | Push the latest commits to {% data variables.product.prodname_dotcom %}
|<kbd></kbd><kbd></kbd><kbd>P</kbd> | Pull down the latest changes from {% data variables.product.prodname_dotcom %}
|<kbd></kbd><kbd></kbd> | Remove an existing repository
|<kbd></kbd><kbd></kbd><kbd>G</kbd> | View the repository on {% data variables.product.prodname_dotcom %}
|<kbd></kbd><kbd>&grave;</kbd> | Open repository in your preferred terminal tool
|<kbd></kbd><kbd></kbd><kbd>F</kbd> | Show the repository in Finder
|<kbd></kbd><kbd></kbd><kbd>A</kbd> | Open the repository in your preferred editor tool
|<kbd></kbd><kbd>I</kbd> | Create an issue on {% data variables.product.prodname_dotcom %}
|<kbd>Command</kbd>+<kbd>N</kbd> | Add a new repository
|<kbd>Command</kbd>+<kbd>O</kbd> | Add a local repository
|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>O</kbd> | Clone a repository from {% data variables.product.prodname_dotcom %}
|<kbd>Command</kbd>+<kbd>T</kbd> | Show a list of your repositories
|<kbd>Command</kbd>+<kbd>P</kbd> | Push the latest commits to {% data variables.product.prodname_dotcom %}
|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>P</kbd> | Pull down the latest changes from {% data variables.product.prodname_dotcom %}
|<kbd>Command</kbd>+<kbd>Delete</kbd> | Remove an existing repository
|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>G</kbd> | View the repository on {% data variables.product.prodname_dotcom %}
|<kbd>Control</kbd>+<kbd>&grave;</kbd> | Open repository in your preferred terminal tool
|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>F</kbd> | Show the repository in Finder
|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>A</kbd> | Open the repository in your preferred editor tool
|<kbd>Command</kbd>+<kbd>I</kbd> | Create an issue on {% data variables.product.prodname_dotcom %}

## Branches

| Keyboard shortcut | Description
|-----------|------------
|<kbd></kbd><kbd>1</kbd> | Show all your changes before committing
|<kbd></kbd><kbd>2</kbd> | Show your commit history
|<kbd></kbd><kbd>B</kbd> | Show all your branches
|<kbd></kbd><kbd>G</kbd> | Go to the commit summary field
|<kbd></kbd><kbd>Enter</kbd> | Commit changes when summary or description field is active
|<kbd>space</kbd>| Select or deselect all highlighted files
|<kbd></kbd><kbd></kbd><kbd>N</kbd> | Create a new branch
|<kbd></kbd><kbd></kbd><kbd>R</kbd> | Rename the current branch
|<kbd></kbd><kbd></kbd><kbd>D</kbd> | Delete the current branch
|<kbd></kbd><kbd></kbd><kbd>U</kbd> | Update from default branch
|<kbd></kbd><kbd></kbd><kbd>B</kbd> | Compare to an existing branch
|<kbd></kbd><kbd></kbd><kbd>M</kbd> | Merge into current branch
|<kbd></kbd><kbd>H</kbd> | Show or hide stashed changes
|<kbd></kbd><kbd></kbd><kbd>C</kbd> | Compare branches on {% data variables.product.prodname_dotcom %}
|<kbd></kbd><kbd>R</kbd> | Show the current pull request on {% data variables.product.prodname_dotcom %}
|<kbd>Command</kbd>+<kbd>1</kbd> | Show all your changes before committing
|<kbd>Command</kbd>+<kbd>2</kbd> | Show your commit history
|<kbd>Command</kbd>+<kbd>B</kbd> | Show all your branches
|<kbd>Command</kbd>+<kbd>G</kbd> | Go to the commit summary field
|<kbd>Command</kbd>+<kbd>Enter</kbd> | Commit changes when summary or description field is active
|<kbd>Space</kbd>| Select or deselect all highlighted files
|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>N</kbd> | Create a new branch
|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>R</kbd> | Rename the current branch
|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>D</kbd> | Delete the current branch
|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>U</kbd> | Update from default branch
|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>B</kbd> | Compare to an existing branch
|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>M</kbd> | Merge into current branch
|<kbd>Control</kbd>+<kbd>H</kbd> | Show or hide stashed changes
|<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>C</kbd> | Compare branches on {% data variables.product.prodname_dotcom %}
|<kbd>Command</kbd>+<kbd>R</kbd> | Show the current pull request on {% data variables.product.prodname_dotcom %}

{% endmac %}

Expand All @@ -73,48 +73,48 @@ GitHub Desktop keyboard shortcuts on Windows

| Keyboard shortcut | Description
|-----------|------------
|<kbd>Ctrl</kbd><kbd>,</kbd> | Go to Options
|<kbd>Ctrl</kbd>+<kbd>,</kbd> | Go to Options
|<kbd>F11</kbd> | Toggle full screen view
|<kbd>Ctrl</kbd><kbd>0</kbd> | Reset zoom to default text size
|<kbd>Ctrl</kbd><kbd>=</kbd> | Zoom in for larger text and graphics
|<kbd>Ctrl</kbd><kbd>-</kbd> | Zoom out for smaller text and graphics
|<kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>I</kbd> | Toggle Developer Tools
|<kbd>Ctrl</kbd>+<kbd>0</kbd> | Reset zoom to default text size
|<kbd>Ctrl</kbd>+<kbd>=</kbd> | Zoom in for larger text and graphics
|<kbd>Ctrl</kbd>+<kbd>-</kbd> | Zoom out for smaller text and graphics
|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>I</kbd> | Toggle Developer Tools

## Repositories

| Keyboard Shortcut | Description
|-----------|------------
|<kbd>Ctrl</kbd><kbd>N</kbd> | Add a new repository
|<kbd>Ctrl</kbd><kbd>O</kbd> | Add a local repository
|<kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>O</kbd> | Clone a repository from {% data variables.product.prodname_dotcom %}
|<kbd>Ctrl</kbd><kbd>T</kbd> | Show a list of your repositories
|<kbd>Ctrl</kbd><kbd>P</kbd> | Push the latest commits to {% data variables.product.prodname_dotcom %}
|<kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>P</kbd> | Pull down the latest changes from {% data variables.product.prodname_dotcom %}
|<kbd>Ctrl</kbd><kbd>Delete</kbd> | Remove an existing repository
|<kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>G</kbd> | View the repository on {% data variables.product.prodname_dotcom %}
|<kbd>Ctrl</kbd><kbd>&grave;</kbd> | Open repository in your preferred command line tool
|<kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>F</kbd> | Show the repository in Explorer
|<kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>A</kbd> | Open the repository in your preferred editor tool
|<kbd>Ctrl</kbd><kbd>I</kbd> | Create an issue on {% data variables.product.prodname_dotcom %}
|<kbd>Ctrl</kbd>+<kbd>N</kbd> | Add a new repository
|<kbd>Ctrl</kbd>+<kbd>O</kbd> | Add a local repository
|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>O</kbd> | Clone a repository from {% data variables.product.prodname_dotcom %}
|<kbd>Ctrl</kbd>+<kbd>T</kbd> | Show a list of your repositories
|<kbd>Ctrl</kbd>+<kbd>P</kbd> | Push the latest commits to {% data variables.product.prodname_dotcom %}
|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> | Pull down the latest changes from {% data variables.product.prodname_dotcom %}
|<kbd>Ctrl</kbd>+<kbd>Delete</kbd> | Remove an existing repository
|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>G</kbd> | View the repository on {% data variables.product.prodname_dotcom %}
|<kbd>Ctrl</kbd>+<kbd>&grave;</kbd> | Open repository in your preferred command line tool
|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>F</kbd> | Show the repository in Explorer
|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>A</kbd> | Open the repository in your preferred editor tool
|<kbd>Ctrl</kbd>+<kbd>I</kbd> | Create an issue on {% data variables.product.prodname_dotcom %}

## Branches

| Keyboard shortcut | Description
|-----------|------------
|<kbd>Ctrl</kbd><kbd>1</kbd> | Show all your changes before committing
|<kbd>Ctrl</kbd><kbd>2</kbd> | Show your commit history
|<kbd>Ctrl</kbd><kbd>B</kbd> | Show all your branches
|<kbd>Ctrl</kbd><kbd>G</kbd> | Go to the commit summary field
|<kbd>Ctrl</kbd><kbd>Enter</kbd> | Commit changes when summary or description field is active
|<kbd>space</kbd>| Select or deselect all highlighted files
|<kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>N</kbd> | Create a new branch
|<kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>R</kbd> | Rename the current branch
|<kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>D</kbd> | Delete the current branch
|<kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>U</kbd> | Update from default branch
|<kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>B</kbd> | Compare to an existing branch
|<kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>M</kbd> | Merge into current branch
|<kbd>Ctrl</kbd><kbd>H</kbd> | Show or hide stashed changes
|<kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>C</kbd> | Compare branches on {% data variables.product.prodname_dotcom %}
|<kbd>Ctrl</kbd><kbd>R</kbd> | Show the current pull request on {% data variables.product.prodname_dotcom %}
|<kbd>Ctrl</kbd>+<kbd>1</kbd> | Show all your changes before committing
|<kbd>Ctrl</kbd>+<kbd>2</kbd> | Show your commit history
|<kbd>Ctrl</kbd>+<kbd>B</kbd> | Show all your branches
|<kbd>Ctrl</kbd>+<kbd>G</kbd> | Go to the commit summary field
|<kbd>Ctrl</kbd>+<kbd>Enter</kbd> | Commit changes when summary or description field is active
|<kbd>Space</kbd>| Select or deselect all highlighted files
|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>N</kbd> | Create a new branch
|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>R</kbd> | Rename the current branch
|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>D</kbd> | Delete the current branch
|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>U</kbd> | Update from default branch
|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>B</kbd> | Compare to an existing branch
|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>M</kbd> | Merge into current branch
|<kbd>Ctrl</kbd>+<kbd>H</kbd> | Show or hide stashed changes
|<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>C</kbd> | Compare branches on {% data variables.product.prodname_dotcom %}
|<kbd>Ctrl</kbd>+<kbd>R</kbd> | Show the current pull request on {% data variables.product.prodname_dotcom %}

{% endwindows %}