GitHub keyboard shortcuts cheat sheet
GitHub · 76 shortcuts76 GitHub shortcuts grouped by task, with Windows and Mac keys side by side. Click any row for the full answer page.
Essentials
| Action | Windows | Mac |
|---|---|---|
| Focus search bar | SS | SS |
| Focus search bar (alternate) | // | // |
| Go to notifications | G then NGthenN | G then NGthenN |
| Create issue | CC | CC |
| Open file finder | TT | TT |
| Open in github.dev | .. | .. |
| Bold text | Ctrl+BCtrlB | Cmd+B⌘B |
| Italicize text | Ctrl+ICtrlI | Cmd+I⌘I |
| Create link | Ctrl+KCtrlK | Cmd+K⌘K |
| Submit comment | Ctrl+EnterCtrl↵ | Cmd+Enter⌘↵ |
| Undo | Ctrl+ZCtrlZ | Cmd+Z⌘Z |
| Redo | Ctrl+YCtrlY | Cmd+Y⌘Y |
Repository navigation
| Action | Windows | Mac |
|---|---|---|
| Go to Code tab | G then CGthenC | G then CGthenC |
| Go to Issues tab | G then IGthenI | G then IGthenI |
| Go to Pull requests tab | G then PGthenP | G then PGthenP |
| Go to Actions tab | G then AGthenA | G then AGthenA |
| Go to Wiki tab | G then WGthenW | G then WGthenW |
| Go to Discussions tab | G then GGthenG | G then GGthenG |
| Go to Security tab | G then SGthenS | G then SGthenS |
| Jump to line | LL | LL |
| Switch branch or tag | WW | WW |
| Expand URL to canonical form | YY | YY |
| Show or hide comments on diffs | II | II |
| Show or hide annotations on diffs | AA | AA |
| Open blame view | BB | BB |
| Highlight current line | Shift+JShiftJ | Shift+J⇧J |
| Open line menu | Shift+Alt+CShiftAltC | Shift+Option+C⇧⌥C |
| Highlight symbol occurrences | Ctrl+EnterCtrl↵ | Cmd+Enter⌘↵ |
File editor
| Action | Windows | Mac |
|---|---|---|
| Open in github.dev in new tab | >> | >> |
| Format as code | Ctrl+ECtrlE | Cmd+E⌘E |
| Ordered list | Ctrl+Shift+7CtrlShift7 | Cmd+Shift+7⌘⇧7 |
| Unordered list | Ctrl+Shift+8CtrlShift8 | Cmd+Shift+8⌘⇧8 |
| Quote text | Ctrl+Shift+.CtrlShift. | Cmd+Shift+.⌘⇧. |
| Open Edit file tab | EE | EE |
| Find in file | Ctrl+FCtrlF | Cmd+F⌘F |
| Find next | Ctrl+GCtrlG | Cmd+G⌘G |
| Find previous | Ctrl+Shift+GCtrlShiftG | Cmd+Shift+G⌘⇧G |
| Replace in file | Ctrl+Shift+FCtrlShiftF | Cmd+Option+F⌘⌥F |
| Replace all in file | Ctrl+Shift+RCtrlShiftR | Cmd+Shift+Option+F⌘⇧⌥F |
| Jump to line in editor | Alt+GAltG | Alt+GAltG |
| Write commit message | Ctrl+SCtrlS | Cmd+S⌘S |
Comments
| Action | Windows | Mac |
|---|---|---|
| Paste as link | Ctrl+VCtrlV | Cmd+V⌘V |
| Toggle Write and Preview | Ctrl+Shift+PCtrlShiftP | Cmd+Shift+P⌘⇧P |
| Paste as plain text | Ctrl+Shift+VCtrlShiftV | Cmd+Shift+V⌘⇧V |
| Paste HTML as plain text | Ctrl+Shift+Alt+VCtrlShiftAltV | Cmd+Shift+Option+V⌘⇧⌥V |
| Open saved repliesThen Ctrl plus the reply number | Ctrl+.Ctrl. | Ctrl+.⌃. |
| Insert suggestion | Ctrl+GCtrlG | Cmd+G⌘G |
| Quote selected text | RR | RR |
Issues and pull requests
| Action | Windows | Mac |
|---|---|---|
| Filter by author | UU | UU |
| Filter by label | LL | LL |
| Filter by milestone | MM | MM |
| Filter by assignee | AA | AA |
| Open issue | OO | OO |
| Request reviewer | ||
| Link issue or pull request | XX | XX |
| Create sub-issue | Alt+Shift+CAltShiftC | Option+Shift+C⌥⇧C |
| Add existing issue as sub-issue | Alt+Shift+AAltShiftA | Option+Shift+A⌥⇧A |
| Edit parent issue | Alt+Shift+PAltShiftP | Option+Shift+P⌥⇧P |
| Open Commits filterFiles changed tab | CC | CC |
| Focus file filterFiles changed tab | TT | TT |
| Submit reviewFiles changed tab | Ctrl+Shift+EnterCtrlShift↵ | Cmd+Shift+Enter⌘⇧↵ |
Projects, Actions and notifications
| Action | Windows | Mac |
|---|---|---|
| Focus filter field in projects | Ctrl+FCtrlF | Cmd+F⌘F |
| Toggle edit mode in projects | Enter↵ | Enter↵ |
| Open row actions | Ctrl+Shift+\CtrlShift\ | Cmd+Shift+\⌘⇧\ |
| Select item in projects | Shift+SpaceShiftSpace | Shift+Space⇧Space |
| Archive items | EE | EE |
| Move card to top | Ctrl+UpCtrl↑ | Cmd+Up⌘↑ |
| Move card to bottom | Ctrl+DownCtrl↓ | Cmd+Down⌘↓ |
| Get workflow suggestions | Ctrl+SpaceCtrlSpace | Cmd+Space⌘Space |
| Go to workflow file | G then FGthenF | G then FGthenF |
| Toggle timestamps in logs | Shift+TShiftT | Shift+T⇧T |
| Toggle full screen in logs | Shift+FShiftF | Shift+F⇧F |
| Mark notification as done | EE | EE |
| Mark notification as unread | Shift+UShiftU | Shift+U⇧U |
| Mark notification as read | Shift+IShiftI | Shift+I⇧I |
| Unsubscribe from notification | Shift+MShiftM | Shift+M⇧M |
More developer tools shortcuts
Ask your agent
Prompt
Make me a one-page GitHub cheat sheet from the 76 shortcuts at https://keyflowhub.com/shortcuts/github, ordered by what I'm most likely to use, and point out any that clash with my current keybindings.
Paste into Claude Code and it will do the rest.
Questions
Windows: Ctrl + Z. Mac: Cmd + Z.
Windows: Ctrl + Y. Mac: Cmd + Y.
Windows: T. Mac: T.
Sources: docs.github.com