Shortcut

GitHub Link an Issue to a Pull Request Shortcut

The GitHub shortcut to link an issue to a pull request is X on Windows. It's the same on Mac.

Quick Answer

Windows
X
Mac
X
Web
Not confirmed yet
GitHubShortcut

Link an Issue to a Pull Request

Windows
X

Links an issue from the same repository to the pull request you are viewing.

Learn More

How to link an issue to a pull request in GitHub

  1. Open GitHub and go to where you want to link an issue to a pull request.
  2. Press X on Windows or X on Mac.

GitHub Link an Issue to a Pull Request Shortcut for Windows

Press X.

GitHub Link an Issue to a Pull Request Shortcut for Mac

Press X.

GitHub Link an Issue to a Pull Request 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 link an issue to a pull request shortcut?

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

Is there a Mac shortcut to link an issue to a pull request in GitHub?

Yes: X.

Does it work in GitHub for the web?

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

Official source · How we verify