0% found this document useful (0 votes)
200 views

GitHub Keyboard Shortcuts Cheat Sheet For Windows and Mac

GitHub Keyboard Shortcuts

Uploaded by

john Bronson
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
200 views

GitHub Keyboard Shortcuts Cheat Sheet For Windows and Mac

GitHub Keyboard Shortcuts

Uploaded by

john Bronson
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

GitHub Keyboard Shortcuts

SHORTCUT SHORTCUT
(WINDOWS) (MAC) ACTION
SITE WIDE SHORTCUTS
? ? Show keyboard shortcuts for current page
S S Focus the search bar
G+N G+N Go to your notifications
Opens and focuses on a user, issue, or pull request
H H hovercard

Esc Esc When focused on above, closes hovercard


G+D G+D Go to the dashboard
Enter Enter Open selection
REPOSITORIES
G+C G+C Go to the Code tab

G+I G+I Go to the Issues tab


G+P G+P Go to the Pull requests tab

G+A G+A Go to the Actions tab


G+B G+B Go to the Projects tab
G+W G+W Go to the Wiki tab

G+G G+G Go to the Discussions tab


SOUCE CODE BROWSING
W W Switch to a new branch or tag
T T Activates the file finder
L L Jump to a line in your code

Y Y Expand a URL to its canonical form


B B Open blame view

I I Show or hide comments on diffs


A A Show or hide annotations on diffs
SOURCE CODE EDITING
Ctrl + B ⌘+B Inserts Markdown formatting for bolding text
Ctrl + I ⌘+I Inserts Markdown formatting for italicizing text

Ctrl + K ⌘+K Inserts Markdown formatting for creating a link


E E Open source code file in the Edit file tab
Ctrl + F ⌘+F Search in file editor
Ctrl + G ⌘+G Find next
Shift + Ctrl + G Shift + ⌘ + G Find previous
Alt + G Alt + G Jump to line
Ctrl + S ⌘+S Write a commit message
Ctrl + Z ⌘+Z Undo
Ctrl + Y ⌘+Y Redo
Shift + Ctrl + F ⌘ + Option + F Replace
Shift + Ctrl + R Shift + ⌘ + Option + F Replace all

Copyright © 2021 MakeUseOf. For more cheat sheets, head over to www.makeuseof.com
ISSUES AND PULL REQUEST
Q Q Request a reviewer
L L Apply a label

Ctrl + Shift + P ⌘ + Shift + P Toggles between the Write and Preview tabs
M M Set a milestone
A A Set an assignee
C C Open the list of commits in the pull request
T T Open the list of changed files in the pull request
J J Move selection down in the list
K K Move selection up in the list
Ctrl + Shift + Enter ⌘ + Shift + Enter Add a single comment on a pull request diff
Toggle between collapsing and expanding all outdated
Alt + (Click) Option + (Click) review comments in a pull request
ISSUES AND PULL REQUEST LISTS
C C Create an issue
O O Open issue
U U Filter by author
Focus your cursor on the issues or pull requests search
Ctrl + / ⌘+/ bar

L L Filter by or edit labels


M M Filter by or edit milestones
A A Filter by or edit assignee
COMMENTS
Ctrl + Shift + P ⌘ + Shift + P Toggles between the Write and Preview comment tabs

Ctrl + Enter ⌘ + Enter Submits a comment


Ctrl + B ⌘+B Inserts Markdown formatting for bolding text
Ctrl + I ⌘+I Inserts Markdown formatting for italicizing text
Ctrl + K ⌘+K Inserts Markdown formatting for creating a link
Ctrl + . and then Ctrl + ⌘ + . and then ⌘ + Opens saved replies menu and then autofills comment
[saved reply number] [saved reply number] field with a saved reply
Ctrl + G ⌘+G Insert a suggestion
R R Quote the selected text in your reply
MOVING A COLUMN (PROJECT BOARDS)
Enter Enter Start moving the focused column
Esc Esc Cancel the move in progress
Enter Enter Complete the move in progress

Arrow Left Arrow Left Move column to the left


Ctrl + Arrow Left ⌘ + Arrow Left Move column to the leftmost position
Arrow Right Arrow Right Move column to the right
Ctrl + Arrow Right ⌘ + Arrow Right Move column to the rightmost position
MOVING A CARD (PROJECT BOARDS)
Enter Enter Start moving the focused card
Esc Esc Cancel the move in progress

Enter Enter Complete the move in progress


Arrow Down Arrow Down Move card down

Ctrl + Arrow Down ⌘ + Arrow Down Move card to the bottom of the column
Arrow Up Arrow Up Move card up
Ctrl + Arrow Up ⌘ + Arrow Up Move card to the top of the column

Copyright © 2021 MakeUseOf. For more cheat sheets, head over to www.makeuseof.com
Arrow Left Arrow Left Move card to the bottom of the column on the left
Shift + Arrow Left Shift + Arrow Left Move card to the top of the column on the left
Ctrl + Arrow Left ⌘ + Arrow Left Move card to the bottom of the leftmost column

Ctrl + Shift + Arrow Left ⌘ + Shift + Arrow Left Move card to the top of the leftmost column
Arrow Right Arrow Right Move card to the bottom of the column on the right
Shift + Arrow Right Shift + Arrow Right Move card to the top of the column on the right
Ctrl + Arrow Right ⌘ + Arrow Right Move card to the bottom of the rightmost column
Ctrl + Shift + Arrow ⌘ + Shift + Arrow
Right Right Move card to the bottom of the rightmost column
PREVIEWING A CARD (PROJECT BOARDS)
Esc Esc Close the card preview pane
NETWORK GRAPH
Arrow Left Arrow Left Scroll left
Arrow Right Arrow Right Scroll right
Arrow Up Arrow Up Scroll up
Arrow Down Arrow Down Scroll down
Shift + Arrow Left Shift + Arrow Left Scroll all the way left
Shift + Arrow Right Shift + Arrow Right Scroll all the way right
Shift + Arrow Up Shift + Arrow Up Scroll all the way up
Shift + Arrow Down Shift + Arrow Down Scroll all the way down
GITHUB ACTIONS
In the workflow editor, get suggestions for your workflow
Ctrl + Space ⌘ + Space file
G+F G+F Go to the workflow file

T T Toggle timestamps in logs


F F Toggle full-screen logs
Esc Esc Exit full-screen logs
NOTIFICATIONS
E E Mark as done

Shift + U Shift + U Mark as unread


Shift + I Shift + I Mark as read
Shift + M Shift + M Unsubscribe

Copyright © 2021 MakeUseOf. For more cheat sheets, head over to www.makeuseof.com

You might also like