# GitHub Desktop keyboard shortcuts

[Original EspDesktop guide](https://espdesktop.com/reference/shortcut-presets/github-desktop)

![EspDesktop touchscreen on a desk stand beside a Mac keyboard](https://espdesktop.com/images/espdesktop-desk.jpg)

EspDesktop puts GitHub Desktop keyboard shortcuts on labelled buttons on a touchscreen beside your Mac. Keep those commands within reach while checking repository changes and reviewing commit history.

## What can I do with it?

Try View Changes with a repository open, then use Commit History to compare current edits with work already committed.

Back to layout

Repositories

View Changes

Commit History

Show all your branches

Pull

New Branch

Pull Request

View repository on GitHub

Example touchscreen buttons for GitHub Desktop

## GitHub Desktop shortcut reference

| Action | Keys |
| --- | --- |
| Clone Repo | Command + Shift + O |
| Repositories | Command + T |
| Push | Command + P |
| Pull | Command + Shift + P |
| View Changes | Command + 1 |
| Commit History | Command + 2 |
| Commit | Command + Enter |
| New Branch | Command + Shift + N |
| Compare Branch | Command + Shift + B |
| Pull Request | Command + R |
| Display Settings window | Command + , |
| Reset zoom to default text size | Command + 0 |
| Zoom in for larger text and graphics | Command + = |
| Zoom out for smaller text and graphics | Command + - |
| Decrease active pane width | Command + 8 |
| Increase active pane width | Command + 9 |
| Toggle Developer Tools | Command + Option + I |
| Open context menu of selected component | Shift + F10 |
| Add new repository | Command + N |
| Add local repository | Command + O |
| Remove existing repository | Command + Delete |
| View repository on GitHub | Command + Shift + G |
| Show repository in Finder | Command + Shift + F |
| Open repository | Command + Shift + A |
| Create issue on GitHub | Command + I |
| Show all your branches | Command + B |
| Commit summary field | Command + G |
| Select or deselect all highlighted files | Space |
| Rename current branch | Command + Shift + R |
| Delete current branch | Command + Shift + D |
| Update from default branch | Command + Shift + U |
| Merge into current branch | Command + Shift + M |
| Stash current changes | Command + Shift + S |
| Compare branches on GitHub | Command + Shift + C |
| Open repository | Control + \` |
| Toggle stashed changes | Control + H |

## GitHub Desktop shortcuts FAQ

### Which GitHub Desktop keyboard shortcuts should I try first?

Start with **Repositories** (**Command + T**), **View Changes** (**Command + 1**) and **Commit History** (**Command + 2**). Tapping a button sends its key combination to GitHub Desktop on your Mac.

### How do I add GitHub Desktop shortcuts to EspDesktop?

Add an **Applications** card for GitHub Desktop and choose the shortcuts you want under **App Subpage**. For one button, use a **Key Shortcut** card and pick GitHub Desktop in the **Application** tab. See [how to add shortcut cards](https://espdesktop.com/mac-controls/shortcuts#create-a-shortcut-card).

### Can I choose which GitHub Desktop shortcuts appear on the display?

Yes. You can choose and reorder cards in the app subpage. You can also [add a custom keyboard shortcut](https://espdesktop.com/mac-controls/shortcuts#create-a-shortcut-card) for a key combination you use in GitHub Desktop.

### Why is a GitHub Desktop shortcut not responding?

Try the keys shown in the table on your Mac first, with GitHub Desktop open and the right window or item selected. If the keys work on your Mac, check [EspDesktop’s Accessibility permission](https://espdesktop.com/mac-controls/shortcuts#allow-accessibility-access).

[Browse all application shortcuts](https://espdesktop.com/reference/shortcut-presets).

[Next · Setup guide](https://espdesktop.com/screens/4848s040#where-to-buy)
