Version Control

GitHub Keyboard Shortcuts

Every one of GitHub's 130 keyboard shortcuts, collected so you can collaborate on code repositories faster

GitHub keyboard shortcuts

GitHub is a version control tool from GitHub Inc. that enables users to collaborate on code repositories. It is trusted by creative and technical professionals worldwide.

Speed matters when you use GitHub professionally. Keyboard shortcuts eliminate unnecessary clicks and keep your hands on the keys where they belong.

macOS Windows Linux
130 shortcuts 15 categories
Visit GitHub Official Website
Show shortcuts for:

Site Wide Shortcuts 5 shortcuts

Focus the search bar
S S S
Focus the search bar
/ / /
Go to your notifications
G +N G +N G +N
Move focus from an element to its hovercard
Opt +Up Alt +Up Alt +Up
When focused on a user, issue, or pull request hovercard, closes the hovercard and refocuses on the element the hovercard is in
Esc Esc Esc

Repositories 7 shortcuts

Go to the Code tab
G +C G +C G +C
Go to the Issues tab
G +I G +I G +I
Go to the Pull requests tab
G +P G +P G +P
Go to the Actions tab
G +A G +A G +A
Go to the Wiki tab
G +W G +W G +W
Go to the Discussions tab
G +G G +G G +G
Go to the repository's Security tab
G +S G +S G +S

Source Code Editing 20 shortcuts

Opens a repository or pull request in the github.dev editor, in the same browser tab
. . .
Opens a repository or pull request in the github.dev editor, in a new browser tab
Shift +. Shift +. Shift +.
Inserts Markdown formatting for bolding text
Cmd +B Ctrl +B Ctrl +B
Inserts Markdown formatting for a code one-liner
Cmd +E Ctrl +E Ctrl +E
Inserts Markdown formatting for italicizing text
Cmd +I Ctrl +I Ctrl +I
Inserts Markdown formatting for creating a link
Cmd +K Ctrl +K Ctrl +K
Inserts Markdown formatting for an ordered list
Shift +Cmd +7 Ctrl +Shift +7 Ctrl +Shift +7
Inserts Markdown formatting for an unordered list
Shift +Cmd +8 Ctrl +Shift +8 Ctrl +Shift +8
Inserts Markdown formatting for a quote
Shift +Cmd +. Ctrl +Shift +. Ctrl +Shift +.
Open source code file in the Edit file tab
E E E
Start searching in file editor
Cmd +F Ctrl +F Ctrl +F
Find next
Cmd +G Ctrl +G Ctrl +G
Find previous
Shift +Cmd +G Ctrl +Shift +G Ctrl +Shift +G
Replace
Opt +Cmd +F Ctrl +Shift +F Ctrl +Shift +F
Replace all
Opt +Shift +Cmd +F Ctrl +Shift +R Ctrl +Shift +R
Jump to line
Opt +G Alt +G Alt +G
Undo
Cmd +Z Ctrl +Z Ctrl +Z
Redo
Cmd +Y Ctrl +Y Ctrl +Y
Toggles between the Edit file and Preview changes tabs
Shift +Cmd +P Ctrl +Shift +P Ctrl +Shift +P
Write a commit message
Cmd +S Ctrl +S Ctrl +S

Source Code Browsing 7 shortcuts

Activates the file finder
T T T
Jump to a line in your code
L L L
Switch to a new branch or tag
W W W
Expand a URL to its canonical form
Y Y Y
Show or hide comments on diffs
I I I
Show or hide annotations on diffs
A A A
Open blame view
B B B

Navigating Within Code Files 3 shortcuts

Highlights the line that is currently selected by the cursor within the code file
Shift +J Shift +J Shift +J
If a line of code is currently selected, this shortcut opens the line menu for that line
Opt +Shift +C Alt +Shift +C Alt +Shift +C
Highlights the code symbol currently selected by the cursor and all other occurrences of the symbol in the code, and shows the symbol in the symbols pane
Cmd +Enter Ctrl +Enter Ctrl +Enter

Comments 15 shortcuts

Inserts Markdown formatting for bolding text
Cmd +B Ctrl +B Ctrl +B
Inserts Markdown formatting for italicizing text
Cmd +I Ctrl +I Ctrl +I
Inserts Markdown formatting for code or a command within a line
Cmd +E Ctrl +E Ctrl +E
Inserts Markdown formatting for creating a link
Cmd +K Ctrl +K Ctrl +K
Creates a Markdown link when applied over highlighted text
Cmd +V Ctrl +V Ctrl +V
Toggles between the Write and Preview comment tabs
Shift +Cmd +P Ctrl +Shift +P Ctrl +Shift +P
Pastes HTML link as plain text
Shift +Cmd +V Ctrl +Shift +V Ctrl +Shift +V
Pastes HTML link as plain text
Opt +Shift +Cmd +V Ctrl +Alt +Shift +V Ctrl +Alt +Shift +V
Inserts Markdown formatting for an ordered list
Shift +Cmd +7 Ctrl +Shift +7 Ctrl +Shift +7
Inserts Markdown formatting for an unordered list
Shift +Cmd +8 Ctrl +Shift +8 Ctrl +Shift +8
Submits a comment
Cmd +Enter Ctrl +Enter Ctrl +Enter
Opens saved replies menu and then autofills comment field with a saved reply
Ctrl +. Ctrl +. Ctrl +.
Inserts Markdown formatting for a quote
Shift +Cmd +. Ctrl +Shift +. Ctrl +Shift +.
Insert a suggestion
Cmd +G Ctrl +G Ctrl +G
Quote the selected text in your reply
R R R

Issue and pull request lists 9 shortcuts

Create an issue
C C C
Focus your cursor on the issues or pull requests search bar
Cmd +/ Ctrl +/ Ctrl +/
Filter by author
U U U
Filter by or edit labels
L L L
While filtering by labels, exclude labels
Opt Alt Alt
Filter by or edit milestones
M M M
Filter by or edit assignee
A A A
Open issue
O O O
Open issue
Enter Enter Enter
The BuildBox Macropad Puts Keyboard Shortcuts at Your Fingertips! Learn More

Issues and pull requests 12 shortcuts

Request a reviewer
Q Q Q
Set a milestone
M M M
Apply a label
L L L
Set an assignee
A A A
Link an issue or pull request from the same repository
X X X
Toggle between the Write and Preview tabs
Shift +Cmd +P Ctrl +Shift +P Ctrl +Shift +P
When creating an issue from a task list, open the new issue form in the current tab
Opt Alt Alt
When creating an issue from a task list, open the new issue form in a new tab
Shift Shift Shift
When creating an issue from a task list, open the new issue form in the new window
Cmd Ctrl +Shift Ctrl +Shift
Create a new sub-issue
Opt +Shift +C Alt +Shift +C Alt +Shift +C
Add an existing issue as sub-issue
Opt +Shift +A Alt +Shift +A Alt +Shift +A
Edit parent issue
Opt +Shift +P Alt +Shift +P Alt +Shift +P

Files changed tab in pull requests 5 shortcuts

Open the Commits dropdown menu to filter which commits are shown in the diffs
C C C
Move your cursor to the Filter changed files field
T T T
Submit a review comment
Shift +Cmd +Enter Ctrl +Shift +Enter Ctrl +Shift +Enter
Toggle between collapsing and expanding all outdated or resolved review comments in a pull request
Opt Alt Alt
Comment on multiple lines of a pull request
Shift Shift Shift

Projects - Navigating a project 5 shortcuts

Focus filter field
Cmd +F Ctrl +F Ctrl +F
Move focus to the left
Left Left Left
Move focus to the right
Right Right Right
Move focus up
Up Up Up
Move focus down
Down Down Down

Projects - Manipulating a project 8 shortcuts

Toggle edit mode for the focused cell
Enter Enter Enter
Cancel editing for the focused cell
Esc Esc Esc
Open row actions menu
Shift +Cmd +\ Ctrl +Shift +\ Ctrl +Shift +\
Select item
Shift +Space Shift +Space Shift +Space
Add cell or card below to selection
Shift +Down Shift +Down Shift +Down
Add cell or card above to selection
Shift +Up Shift +Up Shift +Up
Open selected item
Space Space Space
Archive selected items
E E E

Projects - Moving cards on the board layout 11 shortcuts

Start moving the selected card(s) / Complete the move in progress
Enter Enter Enter
Start moving the selected card(s)
Shift +Space Shift +Space Shift +Space
Cancel the move in progress
Esc Esc Esc
Move a single card down
Down Down Down
Move a single card to the bottom of the column
Cmd +Down Ctrl +Down Ctrl +Down
Move a single card up
Up Up Up
Move a single card to the top of the column
Cmd +Up Ctrl +Up Ctrl +Up
Move card(s) left
Left Left Left
Move card(s) to the leftmost column
Cmd +Left Ctrl +Left Ctrl +Left
Move card(s) right
Right Right Right
Move card(s) to the rightmost column
Cmd +Right Ctrl +Right Ctrl +Right

GitHub Actions 7 shortcuts

In the workflow editor, get suggestions for your workflow file
Cmd +Space Ctrl +Space Ctrl +Space
Go to the workflow file
G +F G +F G +F
Toggle timestamps in logs
Shift +T Shift +T Shift +T
Toggle timestamps in logs
T T T
Toggle full-screen logs
Shift +F Shift +F Shift +F
Toggle full-screen logs
F F F
Exit full-screen logs
Esc Esc Esc

Notifications 4 shortcuts

Mark as done
E E E
Mark as unread
Shift +U Shift +U Shift +U
Mark as read
Shift +I Shift +I Shift +I
Unsubscribe
Shift +M Shift +M Shift +M

Network graph 12 shortcuts

Scroll left
Left Left Left
Scroll left
H H H
Scroll right
Right Right Right
Scroll right
L L L
Scroll up
Up Up Up
Scroll up
K K K
Scroll down
Down Down Down
Scroll down
J J J
Scroll all the way left
Shift +Left Shift +H Shift +H
Scroll all the way right
Shift +Right Shift +L Shift +L
Scroll all the way up
Shift +Up Shift +K Shift +K
Scroll all the way down
Shift +Down Shift +J Shift +J
BuildBox Macropad

We've Built 10s Of 1000s Of Keyboard Shortcuts Into The BuildBox Macropad

The BuildBox Macropad is the ultimate shortcut machine. One device with up to 160 configurable shortcuts for apps like GitHub available at your fingertips, a crystal clear display showing what every key does, and a hall-effect scroll wheel for scrubbing through video, audio and graphic editing applications like butter!

Drop your email below to be eligible for our first production run of 500 BuildBox units, at a HUGE discount price:

Keyboard Shortcuts for Similar Applications