GitHub Desktop keyboard shortcuts

GitHub Desktop's shortcuts cover repository setup, branch work, commit flow, and the views that developers use while reviewing changes. Mac and Windows bindings come directly from GitHub's current desktop reference.

Windows, macOS · 35 shortcuts

Application

Open settings, change the window view, and reach the built-in development tools in GitHub Desktop.

ActionWindowsmacOS
Open settings or optionsCtrl,Cmd,
Toggle fullscreenF11CtrlCmdF
Reset zoomCtrl0Cmd0
Zoom inCtrl=Cmd=
Zoom outCtrl-Cmd-
Open developer toolsCtrlShiftIOptionCmdI
Open the context menuShiftF10ShiftF10

Repositories

Add and switch repositories, clone from GitHub, and open the project in its related tools.

ActionWindowsmacOS
Add a new repositoryCtrlNCmdN
Add an existing local repositoryCtrlOCmdO
Clone a repositoryCtrlShiftOCmdShiftO
Open the repository listCtrlTCmdT
Push to the remoteCtrlPCmdP
Pull from the remoteCtrlShiftPCmdShiftP
Remove the current repositoryDeleteCmdDelete
Open the repository on GitHubCtrlShiftGCmdShiftG
Open the repository in a terminal``
Open the repository in the file managerCtrlShiftFCmdShiftF
Open the repository in an editorCtrlShiftACmdShiftA
Open the selected issueCtrlICmdI

Branches and commits

Move between changed files and history, create branches, and commit the work that is staged in the current repository.

ActionWindowsmacOS
Open the Changes viewCtrl1Cmd1
Open the History viewCtrl2Cmd2
Open the branch menuCtrlBCmdB
Focus the commit summaryCtrlGCmdG
Commit staged changesCtrlEnterCmdEnter
Select the highlighted fileSpaceSpace
Create a new branchCtrlShiftNCmdShiftN
Rename the current branchCtrlShiftRCmdShiftR
Delete the current branchCtrlShiftDCmdShiftD
Update the default branchCtrlShiftUCmdShiftU
Compare branchesCtrlShiftBCmdShiftB
Merge a branchCtrlShiftMCmdShiftM
Stash changesCtrlShiftSCmdShiftS
Open stashed changesCtrlHCtrlH
Compare commitsCtrlShiftCCmdShiftC
Create or open a pull requestCtrlRCmdR

Make a printable GitHub Desktop sheet