Inspired by this post, I made a handy table for all your github shortcuts.
Keyboard Shortcut | Location | Function |
---|---|---|
t |
Repository view | Fuzzy file search - use arrows to navigate through files, enter to open the file |
t |
File view in pull request | Jump to a function/symbol |
y |
File or directory view | Convert URL to a permalink |
b |
File view | Show blame |
/ |
Anywhere | Search all code in repository |
ctrl . + ctrl 1 |
Adding a comment | Insert the first saved reply |
``` suggestion # make this change ``` |
Adding a comment | Create a suggestion that someone can commit to their PR |
g + p |
Repository view | Opens the pull request tab |
u |
Pull request list view | Filter by author |
l |
Opening a pull request | Apply a label |
a |
Opening a pull request | Add an assignee |