Development

🐙GitHub Keyboard Shortcuts

22 essential shortcuts for GitHub

Navigation

ShortcutAction
S or /Focus search bar
G then NGo to Notifications
G then DGo to Dashboard
G then CGo to Code tab
G then IGo to Issues tab
G then PGo to Pull Requests tab
G then AGo to Actions tab
G then WGo to Wiki tab

Repository

ShortcutAction
TOpen file finder in repo
LGo to line in file view
BOpen blame view
YPermalink current URL to commit SHA
.Open in github.dev (VS Code in browser)

Lists

ShortcutAction
J/KMove down / up in list
XToggle selection in list
O or EnterOpen issue/PR

General

ShortcutAction
Ctrl+K/⌘KOpen command palette
? (question mark)Show keyboard shortcuts help

Editing

ShortcutAction
E (in file view)Edit file
Ctrl+Shift+P/⌘⇧PToggle Markdown preview when editing

Code Review

ShortcutAction
R (on PR diff)Reply to review comment
Shift+? (on PR diff)Show diff keyboard shortcuts

About GitHub Shortcuts

GitHub is the world's largest platform for hosting Git repositories, code collaboration, code review, issue tracking, and CI/CD through GitHub Actions. GitHub's web interface supports extensive keyboard shortcuts for navigating repositories, reviewing pull requests, managing issues, and searching code. These shortcuts make code review and project management significantly faster for developers who live on GitHub.

This reference covers 22 essential GitHub keyboard shortcuts organized across 6 categories: Navigation, Repository, Lists, and more. Each shortcut lists both macOS and Windows/Linux key combinations where applicable, making it easy to find the right key combo regardless of your operating system.

Learning keyboard shortcuts is one of the highest-leverage investments you can make in your daily workflow. Studies show that developers and designers who rely on keyboard shortcuts are measurably faster at common tasks. Rather than memorizing every shortcut at once, focus on the ones you use most frequently and gradually expand your repertoire.

Bookmark this page for quick reference whenever you need to look up a GitHub shortcut. The categorized layout makes it easy to find shortcuts by their function, whether you need navigation, editing, or specialized commands.

Related apps