--- title: Github date: 2022-11-23 16:23:31.704787 icon: icon-style label: tags: - shortcut - keyboard - categories: - Keyboard Shortcuts intro: | A visual cheat-sheet for the 80 keyboard shortcuts found on Github.com --- Keyboard Shortcuts ------------------ ### Site wide shortcuts shortcuts | description ---|--- `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 {.shortcuts} ### Repositories shortcuts | description ---|--- `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 {.shortcuts} ### Source code editing shortcuts | description ---|--- `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 {.shortcuts} ### Source code browsing shortcuts | description ---|--- `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 {.shortcuts} ### Comments shortcuts | description ---|--- `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 {.shortcuts} ### Issue and pull request lists shortcuts | description ---|--- `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 {.shortcuts} ### Issues and pull requests shortcuts | description ---|--- `Q` | Request a reviewer `M` | Set a milestone `L` | Apply a label `A` | Set an assignee {.shortcuts} ### Changes in pull requests shortcuts | 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 `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 {.shortcuts} ### Project boards shortcuts | description ---|--- `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 {.shortcuts} ### Notifications shortcuts | description ---|--- `E/L/Y` | Mark as read `Shift` `M` | Mute thread {.shortcuts} ### Network graph shortcuts | description ---|--- `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 {.shortcuts} Also see -------- - [Keyboard shortcuts for Github](https://help.github.com/articles/using-keyboard-shortcuts/) _(help.github.com)_