57

I'd like to contact a developer on GitHub to see how I can help out, etc. I don't see the option anywhere.

30

You can contact a GitHub user by going to her/his user page (https://github.com/[USERNAME]) and on the left-hand site you should see her/his email address (if they have provided one).

17

I don't know about sending them a message directly, but if you post a comment in a discussion that they are involved in, then it will appear as a notification in their github account.

  • 2
    Yeah, I was hoping to avoid posting my email but ended up doing it anyway. Thanks. – Josh M. Jul 21 '12 at 17:06
  • 24
    It would be nice if there was a direct-message mechanism, oh well! – Josh M. Jul 21 '12 at 17:07
14

Check out the repository and look for their email address in the Git log.

11

If users are active on GitHub, you might be able to catch their email address from a commit log or open up an issue on a project they are working on.

If they are inactive however and don't have a visible email or repository there doesn't seem to be a direct way. I came up with this workaround that might be worth a try in extreme cases:

  • create an empty repository
  • add a README.md to it containing your message and include a reply email
  • go to the Settings of that repository
  • send the repository via Transfer Ownership to the user in question

This should produce a notification for the user and allow him to contact you.

In cases when a user account is completely dead and you just want to get rid of it so that you can use the name for your own projects, you can also contact support, they will remove dead accounts:

https://help.github.com/articles/name-squatting-policy/

  • Thanks for mentioning the Name Squatting Policy. This was exactly what I was looking for! – Andrea Corbellini Aug 14 '15 at 16:08
7

I don't know how long this has been in place, but now you can add @username message_content in a discussion and that user will be notified.

  • Could you say a bit more about where in the interface this can be done? – batpigandme Jun 20 '13 at 11:10
  • Probably any where you enter "comments" e.g. on an issue. – Josh M. Jun 20 '13 at 14:23
  • Just write "@user ping" in any of issue comments – Fedir RYKHTIK Jul 26 '13 at 12:05
  • "discussion" == Issue or Pull Request or any comment on a commit, etc. – chharvey Jul 28 '16 at 14:49
6

This method worked in February 2019

  1. Copy and paste the next line into your browser (feel free to bookmark it): https://api.github.com/users/xxxxxxx/events/public.
  2. Find the GitHub username for which you want the email: Replace the xxxxxxx in the URL with the person's GitHub username. Hit Enter.
  3. Press Ctrl+F and search for “email”.
  • 1
    Not working. That page just shows an empty array. ([ ]) – felwithe Feb 4 at 14:46
  • 1
    FYI unfortunately this only works if the user has made their email public. If they have not then the other options posted here are worth a shot. – chainwork Mar 26 at 0:09
4

This question has an answer at Stack Overflow.

Although GitHub removed the private messaging feature, there's still an alternative.

GitHub host git repositories. If the user you're willing to communicate with has ever committed some code, there are good chances you may reach your goal. Indeed, within each commit is stored some information about the author of the change or the one who accepted it.

Provided you're really dying to exchange with user user_test

  • Display the public activity page of the user:
    https://github.com/user_test?tab=activity
  • Search for an event stating "user_test pushed to [branch] at [repository]". There are usually good chances, he may have pushed one of his own commits. Ensure this is the case by clicking on the "View comparison..." link and make sure the user is listed as one of the
    committers.
  • Clone on your local machine the repository he pushed to: git clone https://github.com/..../repository.git
  • Go to that directory cd repository
  • Checkout the branch he pushed to: git checkout [branch]
  • Display the latest commits: git log -50

As a committer/author, an email should be displayed along with the commit data.

Note: Every warning related to unsolicited email should apply there. Do not spam.

  • Would have been nice to have mentioned that you copied this answer from Stack Overflow ;) – Stefan Monov Sep 6 '16 at 15:48
  • 1
    I write this answer when I don't know about copying someone else is forbidden in Stack Overflow, I edited my answer ;) – saman Sep 6 '16 at 16:59
  • 1
    It's not just a Stack Overflow thing. Plagiarism is bad everywhere. Thank you for identifying the source. – ale Sep 6 '16 at 17:12
0

One option is to find the users email address and then email them. Hikido offers a free chrome extension that will show you user's email addresses.

  • Since you left this as an answer, I deleted your comment above. However, I don't know that this information adds much to the discussion and does plug a site that a flagger pointed out is perhaps questionable. – jonsca Dec 1 '16 at 13:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.