GitHub logo

GitHub

Web-based Git repository hosting with code review, issue tracking, pull requests, and collaborative development tools

142 shortcuts

Visit website
Platform

Site-Wide

ActionShortcut
Focus search barSor/
Go to notificationsG+N
Show keyboard shortcuts?
Move focus to hovercard⌥+↑
Close hovercardEsc
Focus search barSor/
Go to notificationsG+N
Show keyboard shortcuts?
Move focus to hovercard⌥+↑
Close hovercardEsc
ActionShortcut
Go to Code tabG+C
Go to Issues tabG+I
Go to Pull Requests tabG+P
Go to Actions tabG+A
Go to Projects tabG+B
Go to Wiki tabG+W
Go to Discussions tabG+G
Go to Code tabG+C
Go to Issues tabG+I
Go to Pull Requests tabG+P
Go to Actions tabG+A
Go to Projects tabG+B
Go to Wiki tabG+W
Go to Discussions tabG+G

Source Code Browsing

ActionShortcut
Activate file finderT
Jump to lineL
Switch branch/tagW
Expand URL to canonical formY
Toggle comments visibilityI
Open blame viewB
Open file in editor.
Open in github.dev editor>
Activate file finderT
Jump to lineL
Switch branch/tagW
Expand URL to canonical formY
Toggle comments visibilityI
Open blame viewB
Open file in editor.
Open in github.dev editor>

Source Code Editing

ActionShortcut
Open file in Edit modeE
Jump to line⌥+G
Find in file⌘+F
Go to start/end of file⌘+G
Open file in Edit modeE
Jump to line⌥+G
Find in file⌃+F
Go to start/end of file⌃+G

Markdown Editing

ActionShortcut
Bold⌘+B
Italic⌘+I
Insert link⌘+K
Insert code⌘+E
Ordered list⌘+⇧+7
Unordered list⌘+⇧+8
Quote selected textR
Bold⌃+B
Italic⌃+I
Insert link⌃+K
Insert code⌃+E
Ordered list⌃+⇧+7
Unordered list⌃+⇧+8
Quote selected textR

Comments

ActionShortcut
Submit comment⌘+↩
Quote selected text in replyR
Insert saved reply⌃+.
Submit comment⌃+Enter
Quote selected text in replyR
Insert saved reply⌃+.

Issue & PR Lists

ActionShortcut
Create issueC
Focus search bar⌘+/
Filter by authorU
Filter by labelsL
Filter by milestonesM
Filter by assigneeA
Open issue/PROor↩
Create issueC
Focus search bar⌃+/
Filter by authorU
Filter by labelsL
Filter by milestonesM
Filter by assigneeA
Open issue/PROorEnter

Issues & Pull Requests

ActionShortcut
Request reviewerQ
Set milestoneM
Apply labelL
Set assigneeA
Link issue/PRX
Create sub-issue⌥+⇧+C
Add existing sub-issue⌥+⇧+A
Request reviewerQ
Set milestoneM
Apply labelL
Set assigneeA
Link issue/PRX
Create sub-issue⌥+⇧+C
Add existing sub-issue⌥+⇧+A

Files Changed (PR)

ActionShortcut
Open commits dropdownC
Filter changed filesT
Submit review comment⌘+⇧+↩
Collapse all files⌥Click
Open commits dropdownC
Filter changed filesT
Submit review comment⌃+⇧+Enter
Collapse all files⌥Click

Projects

ActionShortcut
Focus filter field⌘+F
Toggle edit mode↩
Select item⇧+Space
Open selected itemSpace
Archive itemsE
Focus filter field⌃+F
Toggle edit modeEnter
Select item⇧+Space
Open selected itemSpace
Archive itemsE

GitHub Actions

ActionShortcut
Go to workflow fileG+F
Toggle timestamps⇧+TorT
Toggle full-screen logs⇧+ForF
Get workflow suggestions⌘+Space
Go to workflow fileG+F
Toggle timestamps⇧+TorT
Toggle full-screen logs⇧+ForF
Get workflow suggestions⌃+Space

Notifications

ActionShortcut
Mark as doneE
Mark as unread⇧+U
Mark as read⇧+I
Unsubscribe⇧+M
Mark as doneE
Mark as unread⇧+U
Mark as read⇧+I
Unsubscribe⇧+M

Network Graph

ActionShortcut
Scroll left←orH
Scroll right→orL
Scroll up↑orK
Scroll down↓orJ
Scroll all the way left⇧+←or⇧+H
Scroll all the way right⇧+→or⇧+L
Scroll left←orH
Scroll right→orL
Scroll up↑orK
Scroll down↓orJ
Scroll all the way left⇧+←or⇧+H
Scroll all the way right⇧+→or⇧+L