Shortcut

GitHub Toggle Diff Annotations Shortcut

The GitHub shortcut to toggle diff annotations is a on Windows. It's the same on Mac.

Quick Answer

Windows
a
Mac
a
Web
Not confirmed yet
GitHubShortcut

Toggle Diff Annotations

Windows
a

Shows or hides review annotations on a pull request diff.

Learn More

How to toggle diff annotations in GitHub

  1. Open GitHub and go to where you want to toggle diff annotations.
  2. Press a on Windows or a on Mac.

GitHub Toggle Diff Annotations Shortcut for Windows

Press a.

GitHub Toggle Diff Annotations Shortcut for Mac

Press a.

GitHub Toggle Diff Annotations Shortcut for GitHub Web

We haven't confirmed a GitHub Web shortcut for this yet.

Related Keyboard Shortcuts

Frequently asked questions

What is the GitHub toggle diff annotations shortcut?

On Windows, press a. On a Mac, press a.

Is there a Mac shortcut to toggle diff annotations in GitHub?

Yes: a.

Does it work in GitHub for the web?

We haven't confirmed a web version shortcut for this yet.

Official source · How we verify