How can I use github PR related to specific information by email / user?

I have the following situation. On github, I have two email addresses: stefano @home and stefano @ work. My github account is configured to become the primary address for stefano @home. At work, I set up my git statements correctly to create commits with stefano @. However, when I go to github and merge PR into working repositories, my merge transactions appear with the home address of stefano @.

How can I say that all PR integrates with this particular repo, stefano @ must be working?

+7
source share
2 answers

When merging with the GitHub user interface, the primary email address of your account or the private @users.noreply.github.com version is always used if you @users.noreply.github.com check this box. If you want to use different emails for each repository, you need to run git merge from the command line. GitHub will still close PR correctly.

+6
source

When merging with GitHub UI, always used the primary email address in your account, ...
But from April 24, 2019 (4 years later):

" Choose an email address to merge "

Now you can select the author’s email address for commits created when merging requests over the Internet .
As a reminder, you can also select the author's email address for editing over the Internet .

For more information, see Combine Delete Request .

enter image description here

0
source

All Articles