Skip to the main content
Back to GitHub

GitHub keyboard shortcuts

44 shortcuts, from Shortivo Keys last checked on September 12, 2026.

Blocks and structure 1 shortcut

Action Windows Mac
Toggle full screen logs Actions run Shift + F Shift + F

Clipboard 1 shortcut

Action Windows Mac
Paste a link as plain text Comment field Ctrl + Shift + V Cmd + Shift + V

Code editing 2 shortcuts

Action Windows Mac
Switch to a branch or tag Repository code view W W
Expand the address to its canonical form Repository code view Y Y

Comments and review 12 shortcuts

Action Windows Mac
Show or hide comments on a diff Diff view I I
Bold the selected text Comment or Markdown field Ctrl + B Cmd + B
Italicise the selected text Comment or Markdown field Ctrl + I Cmd + I
Insert inline code formatting Comment or Markdown field Ctrl + E Cmd + E
Insert a link Comment or Markdown field Ctrl + K Cmd + K
Insert a numbered list Comment or Markdown field Ctrl + Shift + 7 Cmd + Shift + 7
Insert a bulleted list Comment or Markdown field Ctrl + Shift + 8 Cmd + Shift + 8
Insert a quote Comment or Markdown field Ctrl + Shift + . Cmd + Shift + .
Switch between Write and Preview Comment field Ctrl + Shift + P Cmd + Shift + P
Submit the comment Comment field Ctrl + Enter Cmd + Enter
Request a reviewer Issue or pull request Q Q
Submit a review comment Files changed tab Ctrl + Shift + Enter Cmd + Shift + Enter

Editing 5 shortcuts

Action Windows Mac
Set a milestone Issue or pull request M M
Apply a label Issue or pull request L L
Set an assignee Issue or pull request A A
Link an issue or pull request Issue or pull request X X
Focus the project filter field Project board Ctrl + F Cmd + F

Files and printing 3 shortcuts

Action Windows Mac
Open the web editor Repository or pull request . .
Open the file finder Repository code view T T
Open the blame view Repository code view B B

Messages and mail 4 shortcuts

Action Windows Mac
Mark the notification as done Notifications inbox E E
Mark the notification as unread Notifications inbox Shift + U Shift + U
Mark the notification as read Notifications inbox Shift + I Shift + I
Unsubscribe from the thread Notifications inbox Shift + M Shift + M

Navigation 3 shortcuts

Action Windows Mac
Go to your notifications Any GitHub page G then N G then N
Jump to a line in the file Repository code view L L
Go to the workflow file Actions run G then F G then F

Paragraphs and lists 2 shortcuts

Action Windows Mac
Create an issue Issue or pull request list C C
Focus the issue search bar Issue or pull request list Ctrl + / Cmd + /

Search 1 shortcut

Action Windows Mac
Focus the search bar Any GitHub page S S

Selection 2 shortcuts

Action Windows Mac
Open the selected project item Project board Space Space
Archive the selected project items Project board E E

Tabs and windows 8 shortcuts

Action Windows Mac
Go to the Code tab Repository G then C G then C
Go to the Issues tab Repository G then I G then I
Go to the Pull requests tab Repository G then P G then P
Go to the Actions tab Repository G then A G then A
Go to the Wiki tab Repository G then W G then W
Go to the Discussions tab Repository G then G G then G
Go to the Security tab Repository G then S G then S
Filter the changed files Files changed tab T T

From Shortivo at https://shortivo.net/platforms/github/. A dot means the maker does not document a key for that system. Nothing on this sheet was converted from one system to another.