GitHub Desktop macOS Shortcuts
| Action | macOS Shortcut |
|---|---|
| Repositories | |
| Add local repository | ⌘O |
| Clone repository | ⌘⇧O |
| Create new repository | ⌘N |
| Switch repository | ⌘⇧R |
| Open in external editor | ⌘⇧A |
| Open in terminal | ⌘` |
| Show in Finder / Explorer | ⌘⇧F |
| Changes & Commits | |
| Commit to branch | ⌘Return |
| Undo commit | ⌘Z |
| Stash changes | ⌘⇧S |
| Discard changes (selected) | ⌘⌫ |
| Branches | |
| New branch | ⌘⇧N |
| Rename branch | Return |
| Delete branch | ⌘⇧D |
| Update from remote | ⌘⇧G |
| Push to remote | ⌘P |
| Fetch origin | ⌘⇧T |
| Navigation | |
| Go to Changes tab | ⌘1 |
| Go to History tab | ⌘2 |
| Open preferences | ⌘, |
| Toggle sidebar | ⌘⇧L |
| Zoom in | ⌘= |
| Zoom out | ⌘- |
| Reset zoom | ⌘0 |