GitHub Cheatsheet - Code Hosting Platform Shortcut Reference
Daily GitHub work — reviewing PRs, hunting files, leaving comments — is full of small repeated clicks. This reference covers global navigation (s and /), repo and file search, code search, Issue/PR hotkeys, review commenting, and Markdown editing. The big wins are keyboard-opened search and quick PR-review commenting. For maintainers and reviewers who spend hours in the browser rather than the terminal. After reading you review, search and comment faster than the mouse allows.
Repository Browsing 8
TYWBIPCUCode Browsing 7
1-9Cmd + /Cmd + FCmd + GCmd + Shift + GCmd + Shift + FCmd + Shift + PIssues & PRs 11
CCmd + EnterCmd + Option + EnterCmd + Shift + PCmd + BCmd + ICmd + KCmd + Option + ICmd + Shift + 7Cmd + Shift + 8Cmd + Shift + 9Code Review 6
Cmd + EnterCmd + Option + EnterCmd + Shift + EnterCmd + Shift + 7Cmd + Shift + 8Cmd + Shift + 9Markdown Editing 10
Cmd + BCmd + ICmd + KCmd + Option + ICmd + Shift + 7Cmd + Shift + 8Cmd + Shift + 9Cmd + Shift + .Cmd + Shift + CCmd + Shift + HTips
- The T key opens the file finder - much faster than clicking, with fuzzy filename matching.
- The Y key converts the URL to a permalink (commit hash) to share a specific version.
- Cmd+Enter submits a comment, Cmd+Option+Enter closes and comments - no button clicking.
- During code review, Cmd+Shift+7 quickly adds a single-line comment.
- The Markdown editor supports Cmd+B bold, Cmd+I italic, Cmd+K insert link.
- The ? key shows all keyboard shortcuts - check anytime.
Official References
Each command links to its official documentation below, so you can verify the latest usage and read deeper.
Maintained by LaoHand
Publicly updated on Jul 21, 2026, continuously proofread against official docs.
Contact Us
Wrong command or description? Send us corrections, business inquiries or product feedback by email.
Contact Us