| ms.topic | include |
|---|---|
| ms.date | 04/04/2022 |
::: moniker range="<=azure-devops"
You can use the following keyboard shortcuts when you work on a page under Repos. To view the valid shortcuts, select ? to access global and service-specific shortcuts.
::: moniker-end
::: moniker range="<=azure-devops"
You can use these shortcuts when you work with Git repositories in Azure DevOps.
| Shortcut | Action |
|---|---|
| z | Toggle full-screen mode |
| e | Open explorer |
| h | Open history |
| b | Open branches |
| q | Open pull requests |
| c, p | Create pull request |
| r | Select repository |
| Shortcut | Action |
|---|---|
| 1 | Open contents |
| 2 | Open history |
| t | Move focus to directory path |
| w | Select branch |
The following screenshot shows the lists of keyboard shortcuts as they appear in Azure DevOps:
:::image type="content" source="../../media/keyboard-shortcuts/code-shortcuts-cloud.png" alt-text="Screenshot that shows Azure DevOps 2020 Repos Git keyboard shortcuts.":::
You can use these shortcuts when you work with TFVC repositories in Azure DevOps.
| Shortcut | Action |
|---|---|
| r | Select repository |
| Shortcut | Action |
|---|---|
| e | Open Files |
| c | Open changesets |
| v | Open shelvesets |
| Shortcut | Action |
|---|---|
| 1 | Open contents |
| 2 | Open history |
| t | Move focus to directory path |
The following screenshot shows the lists of keyboard shortcuts as they appear in Azure DevOps:
:::image type="content" source="../../media/keyboard-shortcuts/code-tfvc-shortcuts-cloud.png" alt-text="Screenshot that shows Azure DevOps 2020 Repos TFVC keyboard shortcuts.":::
::: moniker-end