Find out the Email Address of a GitHub Pull RequestSeptember 25, 2022
Sometimes you quickly want to find out the email address that is associated with a GitHub pull request. The canonical example here is the scenario where you are contributing to a repository that requires you signing a CLA (Contributor License Agreement) first.
Since most of us have two or even more email addresses in regular use, it can easily happen that one of these addresses was used to sign the CLA, while the actual commits of the pull request were authored using a different email address. This will typically fail a repository's CLA check.
So how do you find out now for an open pull request which email address was used to author the commits? It turns out that there is an easy solution to that:
Find the PR in question and open its
Commitstab (I will use this pull request as my example from here on).
Then click on the commit's hash button to drill into this single commit.
.patchto the currently open URL in the browser.
This opens the commit in patch format which reveals the sought-for email address.