Nearly every page on GitHub has a keyboard shortcut to perform actions faster.
About keyboard shortcuts
Typing ? in GitHub brings up a dialog box that lists the keyboard shortcuts available for that page. You can use these keyboard shortcuts to perform actions across the site without using your mouse to navigate.
Below is a list of some of the available keyboard shortcuts.
When creating an issue from a task list, open the new issue form in the current tab by holding alt and clicking the in the upper-right corner of the task. For more information, see "About task lists."
shift and click
When creating an issue from a task list, open the new issue form in a new tab by holding shift and clicking the in the upper-right corner of the task. For more information, see "About task lists."
command or control + shift and click
When creating an issue from a task list, open the new issue form in the new window by holding command or control + shift and clicking the in the upper-right corner of the task. For more information, see "About task lists."
Changes in pull requests
Keyboard shortcut
Description
c
Open the list of commits in the pull request
t
Open the list of changed files in the pull request
j
Move selection down in the list
k
Move selection up in the list
cmd + shift + enter
Add a single comment on a pull request diff
alt and click
Toggle between collapsing and expanding all outdated review comments in a pull request by holding down alt and clicking Show outdated or Hide outdated.
Click, then shift and click
Comment on multiple lines of a pull request by clicking a line number, holding shift, then clicking another line number. For more information, see "Commenting on a pull request."
Project boards
Moving a column
Keyboard shortcut
Description
enter or space
Start moving the focused column
escape
Cancel the move in progress
enter
Complete the move in progress
← or h
Move column to the left
command + ← or command + h or control + ← or control + h
Move column to the leftmost position
→ or l
Move column to the right
command + → or command + l or control + → or control + l
Move column to the rightmost position
Moving a card
Keyboard shortcut
Description
enter or space
Start moving the focused card
escape
Cancel the move in progress
enter
Complete the move in progress
↓ or j
Move card down
command + ↓ or command + j or control + ↓ or control + j
Move card to the bottom of the column
↑ or k
Move card up
command + ↑ or command + k or control + ↑ or control + k
Move card to the top of the column
← or h
Move card to the bottom of the column on the left
shift + ← or shift + h
Move card to the top of the column on the left
command + ← or command + h or control + ← or control + h
Move card to the bottom of the leftmost column
command + shift + ← or command + shift + h or control + shift + ← or control + shift + h
Move card to the top of the leftmost column
→
Move card to the bottom of the column on the right
shift + → or shift + l
Move card to the top of the column on the right
command + → or command + l or control + → or control + l
Move card to the bottom of the rightmost column
command + shift + → or command + shift + l or control + shift + → or control + shift + l
Move card to the bottom of the rightmost column
Previewing a card
Keyboard shortcut
Description
esc
Close the card preview pane
GitHub Actions
Keyboard shortcut
Description
command + space or control + space
In the workflow editor, get suggestions for your workflow file.
gf
Go to the workflow file
shift + t or T
Toggle timestamps in logs
shift + f or F
Toggle full-screen logs
esc
Exit full-screen logs
Notifications
Keyboard shortcut
Description
e
Mark as done
shift + u
Mark as unread
shift + i
Mark as read
shift + m
Unsubscribe
Network graph
Keyboard shortcut
Description
← or h
Scroll left
→ or l
Scroll right
↑ or k
Scroll up
↓ or j
Scroll down
shift + ← or shift + h
Scroll all the way left
shift + → or shift + l
Scroll all the way right
shift + ↑ or shift + k
Scroll all the way up
shift + ↓ or shift + j
Scroll all the way down
Help us make these docs great!
All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.