GitHub Keyboard Shortcuts

Keyboard shortcuts for issues, pull requests and code review on GitHub. Every item below is clearly marked as a shortcut, command, or syntax reference.

Most Useful GitHub Keyboard Shortcuts

GitHubShortcut

Focus Search Bar

Windows
/

Moves the cursor into the GitHub search bar so you can start typing.

Learn More
GitHubShortcut

Open File Finder

Windows
t

Opens the file finder so you can jump to any file in the repository by name.

Learn More
GitHubShortcut

Submit a Comment

Windows
Ctrl+Enter

Sends the comment you are writing.

Learn More
GitHubShortcut

Go to Issues Tab

Windows
G then I

Opens the repository Issues tab. Press G, then I.

Learn More
GitHubShortcut

Go to Pull Requests Tab

Windows
G then P

Opens the repository Pull requests tab. Press G, then P.

Learn More
GitHubShortcut

Toggle Write and Preview Tabs

Windows
Ctrl+Shift+P

Switches between writing a comment and previewing how it will render.

Learn More
GitHubShortcut

Create an Issue

Windows
C

Opens the new issue form in the current repository.

Learn More
GitHubShortcut

Go to Notifications

Windows
G then N

Opens your notifications inbox. Press G, then N.

Learn More

More GitHub Keyboard Shortcuts

GitHub Shortcuts for Mac

Entries with recorded Mac keys are listed below. Official source links are on each reference page.

TaskTypeShortcut
Focus Search BarShortcut/
Open File FinderShortcutt
Submit a CommentShortcutCmd+Enter
Go to Issues TabShortcutG then I
Go to Pull Requests TabShortcutG then P
Toggle Write and Preview TabsShortcutCmd+Shift+P
Create an IssueShortcutC
Go to NotificationsShortcutG then N
Go to Code TabShortcutG then C
Open Repository in Web EditorShortcut.
Switch Branch or TagShortcutw
Insert a LinkShortcutCmd+K
Submit a Review CommentShortcutCmd+Shift+Enter
Get Permanent Link to FileShortcuty
Edit a FileShortcutE
Bold TextShortcutCmd+B
Inline CodeShortcutCmd+E
Focus Issue Search BarShortcutCmd+/
Request a ReviewerShortcutQ
Go to Actions TabShortcutG then A
Jump to LineShortcutl
Open Blame ViewShortcutb
Toggle Diff CommentsShortcuti
Italic TextShortcutCmd+I
Quote Selected Text in a ReplyShortcutR
Insert a Code SuggestionShortcutCmd+G
Filter Issues by LabelShortcutL
Filter Issues by AssigneeShortcutA
Mark Notification as ReadShortcutShift+I
Go to Wiki TabShortcutG then W
Go to Discussions TabShortcutG then G
Open Web Editor in New TabShortcut>
Toggle Diff AnnotationsShortcuta
Ordered ListShortcutCmd+Shift+7
Bulleted ListShortcutCmd+Shift+8
BlockquoteShortcutCmd+Shift+.
Filter Issues by AuthorShortcutU
Filter Issues by MilestoneShortcutM
Link an Issue to a Pull RequestShortcutX
Filter Changed FilesShortcutT
Unsubscribe from a ThreadShortcutShift+M
Go to Security and Quality TabShortcutG then S
Use a Saved ReplyShortcutCmd+. then Cmd+1
Go to Workflow FileShortcutG then F

Frequently Asked Questions

Which GitHub keyboard shortcuts are included?

Examples in this reference include Focus Search Bar (/), Open File Finder (t), Submit a Comment (Ctrl + Enter), Go to Issues Tab (G then I), Go to Pull Requests Tab (G then P).

Do GitHub shortcuts work on a Mac?

Mac key values are listed for 44 of the 44 entries. Use the value shown for the specific action; do not assume Ctrl can be replaced with Cmd. Each reference page links its official source.

What if a GitHub task has no keyboard shortcut?

Some reference pages include a menu alternative. When no equivalent is documented here, consult the linked official help rather than assuming a key combination.