About keyboard shortcuts
Typing ? on GitHub brings up a dialog box that lists the keyboard shortcuts available for that page. You can use these keyboard shortcuts to perform actions across the site without using your mouse to navigate.
You can disable character key shortcuts, while still allowing shortcuts that use modifier keys, in your accessibility settings. For more information, see Managing accessibility settings.
The GitHub Command Palette also gives you quick access to a wide range of actions, without the need to remember keyboard shortcuts. For more information, see GitHub Command Palette.
The following sections list some of the available keyboard shortcuts, organized by the pages where you can use them on GitHub.
Site wide shortcuts
| Keyboard shortcut | Description |
|---|---|
| S or / | Focus the search bar. For more information, see About searching on GitHub. |
| G N | Go to your notifications. For more information, see About notifications. |
| Option+↑ (Mac) or Alt+↑ (Windows/Linux) | Move focus from an element to its hovercard |
| Esc | When focused on a user, issue, or pull request hovercard, closes the hovercard and refocuses on the element the hovercard is in |
Repositories
| Keyboard shortcut | Description |
|---|---|
| G C | Go to the Code tab |
| G I | Go to the Issues tab. For more information, see About issues. |
| G P | Go to the Pull requests tab. For more information, see Pull requests. |
| G A | Go to the Actions tab. For more information, see Writing workflows. |
| G W | Go to the Wiki tab. For more information, see About wikis. |
| G G | Go to the |