GitHub Keyboard Shortcuts
Complete keyboard shortcut reference for GitHub — navigate repositories, review code, and manage issues faster.
File Browsing
| Action | Shortcut |
|---|---|
| Open file finder | TTT |
| Jump to line | LLL |
| Switch branch or tag | WWW |
| Expand URL to canonical form | YYY |
| Toggle file annotations (blame) | BBB |
| Open file in github.dev editor | ... |
Code Editor (github.dev)
| Action | Shortcut |
|---|---|
| Open Command Palette | CmdShiftPCtrlShiftPCtrlShiftP |
| Find in file | CmdFCtrlFCtrlF |
| Find and replace | CmdHCtrlHCtrlH |
| Go to line | CtrlGCtrlGCtrlG |
| Toggle terminal | Ctrl`Ctrl`Ctrl` |
| Save file | CmdSCtrlSCtrlS |
Issues & Pull Requests
| Action | Shortcut |
|---|---|
| Create new issue | CCC |
| Filter by label | LLL |
| Filter by milestone | MMM |
| Filter by assignee | AAA |
| Submit comment | CmdEnterCtrlEnterCtrlEnter |
| Quote selected text in reply | RRR |
| Request reviewers | QQQ |
Markdown Editing
| Action | Shortcut |
|---|---|
| Bold text | CmdBCtrlBCtrlB |
| Italic text | CmdICtrlICtrlI |
| Insert link | CmdKCtrlKCtrlK |
| Insert inline code | CmdECtrlECtrlE |
| Quote text | CmdShift.CtrlShift.CtrlShift. |
| Add ordered list | CmdShift7CtrlShift7CtrlShift7 |
| Add unordered list | CmdShift8CtrlShift8CtrlShift8 |
Notifications
| Action | Shortcut |
|---|---|
| Mark as done | EEE |
| Unsubscribe | ShiftUShiftUShiftU |
| Mark as read | ShiftIShiftIShiftI |
Command Palette
| Action | Shortcut |
|---|---|
| Open command palette | CmdKCtrlKCtrlK |
| Switch to command mode | CmdK>CtrlK>CtrlK> |
No shortcuts found. Try a different search term.
Frequently Asked Questions
How do I see all keyboard shortcuts on GitHub?
Press ? on any GitHub page to open the keyboard shortcuts help dialog. This shows all available shortcuts for the current page context.
Does GitHub have a command palette?
Yes. Press Cmd+K on Mac or Ctrl+K on Windows/Linux to open the GitHub command palette. You can search for repositories, files, commands, and navigate anywhere on GitHub.
How do I quickly navigate between repository tabs on GitHub?
Use G followed by a letter: G then C for Code, G then I for Issues, G then P for Pull Requests, G then A for Actions, G then B for Projects, G then W for Wiki.
Can I edit files directly on GitHub?
Yes. Press . (period) on any repository page to open the repository in github.dev, a full VS Code-based editor that runs in your browser. You can edit files, commit changes, and create pull requests.
How do I search for files in a GitHub repository?
Press T while viewing any repository to open the file finder. Start typing to filter files by name. You can also use the command palette (Cmd/Ctrl+K) to search across repositories.