GitHub Desktop Keyboard Shortcuts

Complete GitHub Desktop keyboard shortcuts reference — 36 shortcuts across 3 categories. Quick reference cheat sheet for Windows & macOS.

GitHub Desktop wraps the everyday git loop — change, commit, push, pull, branch — in a GUI, and its shortcuts map directly onto that loop. There are not many, and they are the same on Windows and Linux; the macOS app uses Cmd. Anything git can do that Desktop cannot is one key away in your terminal or editor.

Application Wide (8)

ShortcutAction
Ctrl+Display the Options window
F11Toggle full screen view
Ctrl + 0Reset zoom to default text size
Ctrl + =Zoom in for larger text and graphics
Ctrl + -Zoom out for smaller text and graphics
Ctrl + 8Decrease active pane width
Ctrl + 9Increase active pane width
Ctrl + Shift + IToggle Developer Tools

Repositories (12)

ShortcutAction
Ctrl + NAdd a new repository
Ctrl + OAdd a local repository
Ctrl + Shift + OClone a repository from GitHub
Ctrl + TShow a list of your repositories
Ctrl + PPush the latest commits to GitHub
Ctrl + Shift + PPull down the latest changes from GitHub
Ctrl + DeleteRemove an existing repository
Ctrl + Shift + GView the repository on GitHub
Ctrl + `Open repository in your preferred command line tool
Ctrl + Shift + FShow the repository in Explorer
Ctrl + Shift + AOpen the repository in your preferred editor tool
Ctrl + ICreate an issue on GitHub

Branches (16)

ShortcutAction
Ctrl + 1Show all your changes before committing
Ctrl + 2Show your commit history
Ctrl + BShow all your branches
Ctrl + GGo to the commit summary field
Ctrl + EnterCommit changes when summary or description field is active
SpaceSelect or deselect all highlighted files
Ctrl + Shift + NCreate a new branch
Ctrl + Shift + RRename the current branch
Ctrl + Shift + DDelete the current branch
Ctrl + Shift + UUpdate from default branch
Ctrl + Shift + BCompare to an existing branch
Ctrl + Shift + MMerge into current branch
Ctrl + Shift + SStash current changes
Ctrl + HShow or hide stashed changes
Ctrl + Shift + CCompare branches on GitHub
Ctrl + RShow the current pull request on GitHub
📄 View Printable Cheat Sheet — Download as PDF or print · 🧩 Combine with other tools

Related Shortcut Pages

Git GitHub VS Code Sourcetree Lazygit VS Code

Search 18,500+ shortcuts across 268 platforms

Explore All Platforms Practice Shortcuts

The commit loop

Ctrl + 1 shows the Changes tab and Ctrl + 2 the History tab. In Changes, Space toggles the highlighted files in and out of the commit, Ctrl + G jumps to the summary field and Ctrl + Enter commits once you are typing there. Ctrl + P pushes and Ctrl + Shift + P pulls — reversed from what some people expect, since P is push. Ctrl + Shift + S stashes the working changes and Ctrl + H shows or hides the stash.

Branches

Ctrl + B opens the branch list with a filter box; typing a name and pressing Enter switches. Ctrl + Shift + N creates a branch from the current one, Ctrl + Shift + R renames it and Ctrl + Shift + D deletes it. Ctrl + Shift + U merges the default branch into the current one to bring it up to date, and Ctrl + Shift + M opens the merge dialog for any other branch. Ctrl + Shift + B compares the current branch to another without merging.

Leaving Desktop

Ctrl + ` opens the repository in your terminal, Ctrl + Shift + A in your editor, and Ctrl + Shift + F in File Explorer; all three respect the tools chosen in Options. Ctrl + Shift + G opens the repository on github.com and Ctrl + R the current branch's pull request. Ctrl + T lists your repositories for switching, and Ctrl + Shift + O clones one from GitHub.

Frequently asked questions

Which key pushes and which pulls?

Ctrl + P pushes; Ctrl + Shift + P pulls. Desktop shows the pending action on the toolbar button as a reminder.

How do I commit only some of my changed files?

In the Changes tab, highlight files and press Space to include or exclude them, then Ctrl + G and Ctrl + Enter to commit.

How do I open the repository in a terminal?

Ctrl + `. The terminal application is set in File › Options › Integrations.

Can I do an interactive rebase in GitHub Desktop?

Squashing and reordering are available by dragging commits in History, but for a full interactive rebase use the terminal via Ctrl + `.

🤖 Ask AI about GitHub Desktop shortcuts

Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"

ChatGPT Claude Perplexity Gemini Grok
📜 Every shortcut on this page is taken from the official GitHub Desktop documentation — docs.github.com
🔧 Spotted an error or a missing shortcut? Suggest an edit on GitHub — every accepted fix goes live on this page, the API and the CLI.