GitHub

GitHub Keyboard Shortcuts

GitHub is a leading platform for version control and collaborative software development. Developers worldwide use it to host, review, and manage code repositories, fostering open-source contributions and teamwork. With features like pull requests, issue tracking, and Git integration, GitHub simplifies project workflows and enables seamless collaboration.

Official URL: https://github.com

General Navigation

Show Changes view (second press will focus commit field)

⌘ (Command) + 1

Show All Commits view (second press will jump to HEAD)

⌘ (Command) + 2

Reveal HEAD

⌘ (Command) + 0

Show Quick Launch window

⌘ (Command) + P

Select next tab

⌃ (Control) + Tab

Select previous tab

⌃ (Control) + ⇧ (Shift) + Tab

Open new tab

⌘ (Command) + T

Close current tab

⌘ (Command) + W

Open preferences

⌘ (Command) + ,

All Commits View

Jump to HEAD

⌘ (Command) + 0

Commit search

⌘ (Command) + F

Jump to next search result

Return

Jump to previous search result

⇧ (Shift) + Return

Copy commit info

⌘ (Command) + C

Remove branch or stash

⌫ (Delete)

Filter by active branch

⌘ (Command) + ⇧ (Shift) + A

Changes View

Commit changes

⌘ (Command) + Return

Commit and push changes

⌘ (Command) + ⇧ (Shift) + Return

Focus commit message field

⌘ (Command) + 1

Stage/unstage selected file

⌘ (Command) + S

Discard changes

⌘ (Command) + D

Repository

Refresh repository

⌘ (Command) + R

Open repository

⌘ (Command) + O

Checkout branch

⌘ (Command) + B

Fetch from remote

⌘ (Command) + ⇧ (Shift) + F