GitHub Keyboard Shortcuts (2024)
Master GitHub with these essential keyboard shortcuts for faster code browsing and PR reviews.
GitHub Keyboard Shortcuts (2024)
Master GitHub with these essential keyboard shortcuts for faster code browsing, PR reviews, and repository management.
Global Shortcuts
| Shortcut | Action |
|---|
g then h | Go to Home |
g then p | Go to Pull requests |
g then i | Go to Issues |
g then c | Go to Code (main) |
g then n | Go to Notifications |
? | Show all shortcuts |
Repository Navigation
| Shortcut | Action |
|---|
t | Toggle file finder |
w | Switch branch/tag |
r | Go to recent commits |
c | Create new issue (when on Issues) |
Pull Request Shortcuts
| Shortcut | Action |
|---|
e | Edit PR title |
a | Change assignee |
l | Add label |
m | Add milestone |
r | Review PR |
Code Review
| Shortcut | Action |
|---|
o | Open file |
Enter | Open diff line |
u | Jump to outdated diff |
+ / - | Expand/collapse diff |
Tips
- Press
? anywhere to see shortcuts - Use
g then g to go to dashboard - Press
s to search within repository