Nearly every page on GitHub has a keyboard shortcut to perform actions faster.
Typing ? in 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.
Below is a list of some of the available keyboard shortcuts.
Site wide shortcuts
Repositories
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 |
Issues
Notifications
| Keyboard Shortcut | Description |
|---|---|
| e I y | Mark as read |
| shift m | Mute thread |
Pull request list
| Keyboard Shortcut | Description |
|---|---|
| r | Quote the selected text in your reply |
| o + enter | Open issue |
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 |