GitHub – Find the pull request associated with a commit

You can filter your pull requests based on the commit SHA – see here

If you know the specific SHA hash of a commit, you can use it to search for pull requests that contain that SHA. Note that the SHA syntax must be at least seven characters.

For example:

e1109ab
Matches pull requests with a commit SHA that starts with e1109ab.

0eff326d6213c is:merged
Matches merged pull requests with a commit SHA that starts with 0eff326d6213c.

Leave a Comment