GitHub keyboard shortcuts

GitHub is where developers host code and work on it together through issues, pull requests, and Actions. Its keys jump between site areas and repository tabs, triage issues and pull requests, format comments, and browse code, diffs, and blame.

Windows, macOS, Linux · 85 shortcuts

Repository tabs

Sequence shortcuts that jump straight to repository sections.

ActionShortcuts
Go to Code tab
Windows / macOS / LinuxG then C
Go to Issues tab
Windows / macOS / LinuxG then I
Go to Pull requests tab
Windows / macOS / LinuxG then P
Go to Actions tab
Windows / macOS / LinuxG then A
Go to Wiki tab
Windows / macOS / LinuxG then W
Go to Discussions tab
Windows / macOS / LinuxG then G
Go to Security and quality tab
Windows / macOS / LinuxG then S

Issues and pull requests

Creating, opening, and metadata triage on lists and issue pages.

ActionShortcuts
Create an issueWorks on issue and pull request lists.
Windows / macOS / LinuxC
Open highlighted issue or pull requestEnter also opens it.
Windows / macOS / LinuxO
Request a reviewer
Windows / macOS / LinuxQ
Set a milestone
Windows / macOS / LinuxM
Set assignee
Windows / macOS / LinuxA
Apply or filter by label
Windows / macOS / LinuxL
Submit a review commentIn the Files changed tab of a pull request.
Windows / LinuxCtrl + Shift + Enter
macOSCmd + Shift + Enter

Comments and markdown

Format a comment, open the editor, submit it, or move through markdown-friendly controls.

ActionShortcuts
Submit comment
Windows / LinuxCtrl + Enter
macOSCmd + Enter
Toggle Write and Preview tabs
Windows / LinuxCtrl + Shift + P
macOSCmd + Shift + P
Quote selected text in your reply
Windows / macOS / LinuxR
Insert bold Markdown
Windows / LinuxCtrl + B
macOSCmd + B
Insert italic Markdown
Windows / LinuxCtrl + I
macOSCmd + I
Insert inline code Markdown
Windows / LinuxCtrl + E
macOSCmd + E
Insert an ordered list
Windows / LinuxCtrl + Shift + 7
macOSCmd + Shift + 7
Insert an unordered list
Windows / LinuxCtrl + Shift + 8
macOSCmd + Shift + 8
Insert a Markdown quote
Windows / LinuxCtrl + Shift + .
macOSCmd + Shift + .
Insert a suggested change
Windows / LinuxCtrl + G
macOSCmd + G

Source code browsing

Use single-key actions to move through file views, diffs, blame, and the code around a change.

ActionShortcuts
Activate the file finder
Windows / macOS / LinuxT
Jump to a line in your code
Windows / macOS / LinuxL
Open blame view
Windows / macOS / LinuxB
Expand a file URL to its canonical form
Windows / macOS / LinuxY
Show or hide diff comments
Windows / macOS / LinuxI
Show or hide diff annotations
Windows / macOS / LinuxA
Open the source file in the editor
Windows / macOS / LinuxE
Switch to a branch or tag
Windows / macOS / LinuxW
Start searching in the file editor
Windows / LinuxCtrl + F
macOSCmd + F
Find the next match
Windows / LinuxCtrl + G
macOSCmd + G
Find the previous match
Windows / LinuxCtrl + Shift + G
macOSCmd + Shift + G
Replace in the file editor
Windows / LinuxCtrl + Shift + F
macOSCmd + Option + F
Replace all in the file editor
Windows / LinuxCtrl + Shift + R
macOSCmd + Shift + Option + F
Jump to a line in the file editor
Windows / macOS / LinuxAlt + G
Undo in the file editor
Windows / LinuxCtrl + Z
macOSCmd + Z
Redo in the file editor
Windows / LinuxCtrl + Y
macOSCmd + Y

Navigation within code files

Move a cursor through a code file, highlight a line, and inspect the symbol under the cursor.

ActionShortcuts
Highlight the current line
Windows / macOS / LinuxShift + J
Open the line menu for a selected line
Windows / LinuxShift + Alt + C
macOSShift + Option + C
Highlight the current symbol and its other occurrences
Windows / LinuxCtrl + Enter
macOSCmd + Enter

Notifications

Open notification views and move through the updates waiting for your attention.

ActionShortcuts
Mark notification as done
Windows / macOS / LinuxE
Mark notification as readShift+U marks it unread again.
Windows / macOS / LinuxShift + I
Mark notification as unread
Windows / macOS / LinuxShift + U
Unsubscribe from the notification
Windows / macOS / LinuxShift + M

Issue and pull request lists

Filter lists by author, label, milestone, or assignee, then open the selected issue or pull request.

ActionShortcuts
Focus the issue or pull request filter
Windows / LinuxCtrl + /
macOSCmd + /
Filter by author
Windows / macOS / LinuxU
Filter by or edit labels
Windows / macOS / LinuxL
Filter by or edit milestones
Windows / macOS / LinuxM
Filter by or edit assignee
Windows / macOS / LinuxA

Projects and Actions

Move through project boards and workflow logs when GitHub is acting more like an operations workspace.

ActionShortcuts
Focus the project filter field
Windows / LinuxCtrl + F
macOSCmd + F
Toggle edit mode for a project cell
Windows / macOS / LinuxEnter
Select a project item
Windows / macOS / LinuxShift + Space
Open a selected project item
Windows / macOS / LinuxSpace
Go to the workflow file
Windows / macOS / LinuxG then F
Toggle timestamps in workflow logs
Windows / macOS / LinuxT
Toggle full-screen workflow logs
Windows / macOS / LinuxF
Get suggestions in the workflow editor
Windows / LinuxCtrl + Space
macOSCmd + Space
Open the project row actions menu
Windows / LinuxCtrl + Shift + \
macOSCmd + Shift + \
Add the cell or card below to the selection
Windows / macOS / LinuxShift + Down
Add the cell or card above to the selection
Windows / macOS / LinuxShift + Up
Archive selected project items
Windows / macOS / LinuxE

Pull request files changed

Filter changed files, change the commit scope, and submit review comments while inspecting a pull request.

ActionShortcuts
Open the commits filter
Windows / macOS / LinuxC
Focus the changed-files filter
Windows / macOS / LinuxT
Submit a review comment from Files changed
Windows / LinuxCtrl + Shift + Enter
macOSCmd + Shift + Enter

Network graph

Scroll the repository network graph in small steps or jump to an edge of the graph.

ActionShortcuts
Scroll the network graph leftH also scrolls left.
Windows / macOS / LinuxLeft
Scroll the network graph rightL also scrolls right.
Windows / macOS / LinuxRight
Scroll the network graph upK also scrolls up.
Windows / macOS / LinuxUp
Scroll the network graph downJ also scrolls down.
Windows / macOS / LinuxDown
Scroll all the way left
Windows / LinuxShift + H
macOSShift + Left
Scroll all the way right
Windows / LinuxShift + L
macOSShift + Right
Scroll all the way up
Windows / LinuxShift + K
macOSShift + Up
Scroll all the way down
Windows / LinuxShift + J
macOSShift + Down

Source

official keyboard shortcuts · Checked

Shortcuts documented on docs.github.com in August 2026. Character key shortcuts can be disabled in accessibility settings, and the GitHub Command Palette is in public preview and disabled by default.

Make a printable GitHub sheet