Typing in GitHub Enterprise Server 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.
Below is a list of some of the available keyboard shortcuts.
| Keyboard shortcut | Description |
|---|
| or | Focus the search bar. For more information, see "About searching on GitHub." |
| Go to your notifications. For more information, see "About notifications." |
| When focused on a user, issue, or pull request hovercard, closes the hovercard and refocuses on the element the hovercard is in |
| Keyboard shortcut | Description |
|---|
| Go to the Code tab |
| Go to the Issues tab. For more information, see "About issues." |
| Go to the Pull requests tab. For more information, see "About pull requests." |
| Go to the Projects tab. For more information, see "About project boards." |
| Go to the Wiki tab. For more information, see "About wikis." |
| Keyboard shortcut | Description |
|---|
| or | Inserts Markdown formatting for bolding text |
| or | Inserts Markdown formatting for italicizing text |
| or | Inserts Markdown formatting for creating a link |
| Open source code file in the Edit file tab |
| or | Start searching in file editor |
| or | Find next |
| or | Find previous |
| or | Replace |
| or | Replace all |
| Jump to line |
| or | Undo |
| or | Redo |
| Toggles between the Edit file and Preview changes tabs |
| or | Write a commit message |
For more keyboard shortcuts, see the CodeMirror documentation.
| Keyboard shortcut | Description |
|---|
| or | Inserts Markdown formatting for bolding text |
| or | Inserts Markdown formatting for italicizing text |
| or | Inserts Markdown formatting for creating a link |
| or | Toggles between the Write and Preview comment tabs |
| Submits a comment |
| and then | Opens saved replies menu and then autofills comment field with a saved reply. For more information, see "About saved replies." |
| Quote the selected text in your reply. For more information, see "Basic writing and formatting syntax." |
| Keyboard shortcut | Description |
|---|
| Open the list of commits in the pull request |
| Open the list of changed files in the pull request |
| Move selection down in the list |
| Move selection up in the list |
| Add a single comment on a pull request diff |
| and click | Toggle between collapsing and expanding all outdated review comments in a pull request by holding down alt and clicking Show outdated or Hide outdated. |
| Click, then and click | Comment on multiple lines of a pull request by clicking a line number, holding , then clicking another line number. For more information, see "Commenting on a pull request." |
| Keyboard shortcut | Description |
|---|
| or | Start moving the focused column |
| Cancel the move in progress |
| Complete the move in progress |
| or | Move column to the left |
| or or or | Move column to the leftmost position |
| or | Move column to the right |
| or or or | Move column to the rightmost position |
| Keyboard shortcut | Description |
|---|
| or | Start moving the focused card |
| Cancel the move in progress |
| Complete the move in progress |
| or | Move card down |
| or or or | Move card to the bottom of the column |
| or | Move card up |
| or or or | Move card to the top of the column |
| or | Move card to the bottom of the column on the left |
| or | Move card to the top of the column on the left |
| or or or | Move card to the bottom of the leftmost column |
| or or or | Move card to the top of the leftmost column |
| Move card to the bottom of the column on the right |
| or | Move card to the top of the column on the right |
| or or or | Move card to the bottom of the rightmost column |
| or or or | Move card to the bottom of the rightmost column |
| Keyboard shortcut | Description |
|---|
| Close the card preview pane |
| Keyboard shortcut | Description |
|---|
| Mark as done |
| Mark as unread |
| Mark as read |
| Unsubscribe |
| Keyboard shortcut | Description |
|---|
| or | Scroll left |
| or | Scroll right |
| or | Scroll up |
| or | Scroll down |
| or | Scroll all the way left |
| or | Scroll all the way right |
| or | Scroll all the way up |
| or | Scroll all the way down |