Nearly every page on GitHub Enterprise has a keyboard shortcut to perform actions faster.
Typing ? in GitHub Enterprise 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.
Site wide shortcuts
Keyboard Shortcut | Description |
---|---|
s | Focus the search bar |
g + n | Go to your notifications |
Repositories
Keyboard Shortcut | Description |
---|---|
g + c | Go to your repository |
g + i | Go to your issues |
g + p | Go to your pull requests |
g + w | Go to your wiki |
Source code browsing
Keyboard Shortcut | Description |
---|---|
t | Activates the file finder |
l | Jump to a line in your code |
w | Switch to a new branch or tag |
y | Expand a URL to its canonical form |
i | Show or hide comments on diffs |
Comments
Keyboard Shortcut | Description |
---|---|
command/control + b | Inserts Markdown formatting for bolding text |
command/control + i | Inserts Markdown formatting for italicizing text |
command/control + k | Inserts Markdown formatting for creating a link |
Issue and pull request lists
Keyboard Shortcut | Description |
---|---|
c | Create an issue |
/ | Focus the issues search bar |
u | Filter by author |
l | Filter by or edit labels |
m | Filter by or edit milestones |
a | Filter by or edit assignee |
r | Quote the selected text in your reply |
o + enter | Open issue |
Changes in pull requests
Keyboard Shortcut | Description |
---|---|
c | Open the list of commits |
t | Open the list of changed files |
j | Move selection down in the list |
k | Move selection up in the list |
Notifications
Keyboard Shortcut | Description |
---|---|
e I y | Mark as read |
shift m | Mute thread |
Network Graph
Keyboard Shortcut | Description |
---|---|
← or h | Scroll left |
→ or l | Scroll right |
↑ or k | Scroll up |
↓ or j | Scroll down |
shift ← or shift h | Scroll all the way left |
shift → or shift l | Scroll all the way right |
shift ↑ or shift k | Scroll all the way up |
shift ↓ or shift j | Scroll all the way down |