GitHub Keyboard Shortcuts Cheat Sheet for Windows and Mac

0
283
GitHub Keyboard Shortcuts Cheat Sheet for Windows and Mac

Here we can see, “GitHub Keyboard Shortcuts Cheat Sheet for Windows and Mac”

GitHub is a code hosting and version control platform for software development. In addition, every project has numerous collaboration features such as bug tracking, continuous integration, feature requests, task management, and wikis.

For collaborative version control software, GitHub is widely regarded as the best option. The features that set GitHub apart include community support, project management, security, automation, CI/CD, and team administration.

You can use these keyboard shortcuts to make your work life easier while working on projects.

Also See:  The Most Useful Mac Keyboard Shortcuts to Know

Table of Contents

GitHub Keyboard Shortcuts for Windows and Mac

SHORTCUT (WINDOWS) SHORTCUT (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
H H Opens and focuses on a user, issue, or pull request 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
SOURCE 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
ISSUES AND PULL REQUESTS
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
Alt + (Click) Option + (Click) Toggle between collapsing and expanding all outdated review comments in a pull request
ISSUE AND PULL REQUEST LISTS
C C Create an issue
O O Open issue
U U Filter by author
Ctrl + / ⌘ + / Focus your cursor on the issues or pull requests search 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 + [saved reply number] ⌘ + . and then ⌘ + [saved reply number] Opens saved replies menu and then autofills comment 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
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 Right ⌘ + Shift + Arrow 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
Ctrl + Space ⌘ + Space In the workflow editor, get suggestions for your workflow 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
Also See:  Tips & Tricks for Using WhatsApp on Android and iOS

Contribute to GitHub Repositories

You can contribute to open-source repositories on GitHub with your skills. It would help you strengthen your resume while also increasing your confidence as a developer.

Contributing to GitHub has become a social trend in the coding community. Consider donating to the GitHub repositories to join this coding trend.

Conclusion

I hope you found this information helpful. Please fill out the form below if you have any questions or comments.

User Questions: 

  1. How do I make a desktop shortcut to GitHub?

Installing and configuring the software. Overview. Get started right away. You’re going to make your first repository. OS that is supported. Shortcuts on the keyboard. Using the command line to create the program.

Contributing and working together. Add and clone repositories. Add storage to the mix. Add a project that already exists. Clone and fork from the Desktop branch. Create a GitHub repository and clone it. Make modifications to a unit.

  1. How does GitHub work on Windows 10?

GitHub Desktop is a desktop application that allows you to interact with GitHub. You can work more efficiently without having to rely on your browser with this new application. GitHub Desktop includes the following features: Assigning collaborators to commits. Branches with pull requests should be checked out.

  1. Is GitHub a secure platform?

Platform. We work to keep GitHub safe, secure, and free of spam and abuse so that it can serve as a platform for developers to collaborate and create.

Also See:  50+ Excellent Xbox Series X|S Tips to Boost Your Console
  1. Is GitHub an excellent place to start for beginners?

That’s all there is to it: An introduction to GitHub for the uninitiated. GitHub is a valuable tool whether you’re working on personal projects alone or as part of a team developing powerful enterprise software. In addition, many businesses use GitHub for various reasons, so getting to know it is critical.

  1. Git was invented by Linus Torvalds, and GitHub does not develop for Linux.

Linus invented Git and GitHub doesn’t develop for Linux from linux