Skip to the main content

GitHub Desktop

Compare to another branch

ShiftCmdB

Mac Desktop app GitHub Desktop

Practice this

In GitHub Desktop, Ctrl + Shift + B will compare to another branch. On a Mac, press Shift + Cmd + B instead.

Where it works: Branches

Every documented variant

Variants of this shortcut
System Environment Keys
Mac Desktop app ShiftCmdB
Windows Desktop app CtrlShiftB

Where this comes from

GitHub Desktop keyboard shortcuts - GitHub Docs

Documentation checked on 2026-09-14. That is a documentation review, not a test run inside the application.

Report a correction