Xcodefun.com

Github

A visual cheat-sheet for the 80 keyboard shortcuts found on Github.com

#Keyboard Shortcuts

#Site wide shortcuts

Shortcut Action
S Focus the search bar
G N Go to your notifications
H Opens and focuses on a user, issue, or pull request hovercard
Esc When focused on above, closes hovercard

#Repositories

Shortcut Action
G C Go to the Code tab
G I Go to the Issues tab
G P Go to the Pull requests tab
G B Go to the Projects tab
G W Go to the Wiki tab

#Source code editing

Shortcut Action
Ctrl F Start searching in file editor
Ctrl G Find next
Ctrl Shift G Find previous
Ctrl Shift F Replace
Ctrl Shift R Replace all
Alt G Jump to line
Ctrl Z Undo
Ctrl Y Redo

#Source code browsing

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

#Comments

Shortcut Action
Ctrl B Inserts Markdown formatting for bolding text
Ctrl I Inserts Markdown formatting for italicizing text
Ctrl K Inserts Markdown formatting for creating a link
Ctrl Shift P Toggles between the Write and Preview comment tabs
Ctrl Enter Submits a comment
Ctrl . Opens saved replies menu and then autofills comment field with a saved reply
Ctrl G Inserts a suggestions
R Quote the selected text in your reply

#Issue and pull request lists

Shortcut Action
C Create an issue
Ctrl / Focus your cursor on the issues or pull requests search bar
U Filter by author
L Filter by or edit labels
M Filter by or edit milestones
A Filter by or edit assignee
O Open issue

#Issues and pull requests

Shortcut Action
Q Request a reviewer
M Set a milestone
L Apply a label
A Set an assignee

#Changes in pull requests

Shortcut Action
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
Ctrl Shift Enter Add a single comment on a pull request diff
Alt (click) Toggle between collapsing and expanding all outdated review comments in a pull request

#Project boards

Shortcut Action
Enter/Space Start moving the focused column
Esc Cancel the move in progress
Enter Complete the move in progress
Left/H Move column to the left
Ctrl Left/H Move column to the leftmost position
Right/L Move column to the right
Ctrl Right/L Move column to the rightmost position
Enter/Space Start moving the focused card
Esc Cancel the move in progress
Enter Complete the move in progress
Down/J Move card down
Ctrl Down/J Move card to the bottom of the column
Up/K Move card up
Ctrl Up/K Move card to the top of the column
Left/H Move card to the bottom of the column on the left
Shift Left/H Move card to the top of the column on the left
Ctrl Left/H Move card to the bottom of the leftmost column
Ctrl Shift Left/H Move card to the top of the leftmost column
Right Move card to the bottom of the column on the right
Shift Right/L Move card to the top of the column on the right
Ctrl Right/L Move card to the bottom of the rightmost column
Ctrl Shift Right/L Move card to the top of the rightmost column

#Notifications

Shortcut Action
E/L/Y Mark as read
Shift M Mute thread

#Network graph

Shortcut Action
Left/H Scroll left
Right/L Scroll right
Up/K Scroll up
Down/J Scroll down
Shift Left/H Scroll all the way left
Shift Right/L Scroll all the way right
Shift Up/K Scroll all the way up
Shift Down/J Scroll all the way down

#Also see