Skip to main content

Keyboard shortcuts

You can use keyboard shortcuts in GitHub Desktop.

GitHub Desktop keyboard shortcuts on macOS

Site wide shortcuts

Keyboard shortcutDescription
Command+,Go to Preferences
Command+HHide the GitHub Desktop application
Option+Command+HHide all other applications
Command+QQuit GitHub Desktop
Control+Command+FToggle full screen view
Command+0Reset zoom to default text size
Command+=Zoom in for larger text and graphics
Command+-Zoom out for smaller text and graphics
Option+Command+IToggle Developer Tools

Repositories

Keyboard shortcutDescription
Command+NAdd a new repository
Command+OAdd a local repository
Shift+Command+OClone a repository from GitHub
Command+TShow a list of your repositories
Command+PPush the latest commits to GitHub
Shift+Command+PPull down the latest changes from GitHub
Command+DeleteRemove an existing repository
Shift+Command+GView the repository on GitHub
Control+`Open repository in your preferred terminal tool
Shift+Command+FShow the repository in Finder
Shift+Command+AOpen the repository in your preferred editor tool
Command+ICreate an issue on GitHub

Branches

Keyboard shortcutDescription
Command+1Show all your changes before committing
Command+2Show your commit history
Command+BShow all your branches
Command+GGo to the commit summary field
Command+EnterCommit changes when summary or description field is active
SpaceSelect or deselect all highlighted files
Shift+Command+NCreate a new branch
Shift+Command+RRename the current branch
Shift+Command+DDelete the current branch
Shift+Command+UUpdate from default branch
Shift+Command+BCompare to an existing branch
Shift+Command+MMerge into current branch
Control+HShow or hide stashed changes
Shift+Command+CCompare branches on GitHub
Command+RShow the current pull request on GitHub

GitHub Desktop keyboard shortcuts on Windows

Site wide shortcuts

Keyboard shortcutDescription
Ctrl+,Go to Options
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+Shift+IToggle Developer Tools

Repositories

Keyboard ShortcutDescription
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

Keyboard shortcutDescription
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+HShow or hide stashed changes
Ctrl+Shift+CCompare branches on GitHub
Ctrl+RShow the current pull request on GitHub