What is the difference between GitHub username and GitHub ID? I was asked for my Github ID for a certain project and I happened to give my username. But the person is unable to find me on GitHub with my username. So I got a GitHub ID from the below URL:
But I'm unable to find this ID from my account directly. Where can I find this in my GitHub account? It would be great if someone could elaborate on this.
Thank You.
16 Answers
It can be easily retrieved using GitHub API:
where instead of your_github_user_name you must use the desired GitHub username.
1
It can be easily retrieved using Github API.
It can be easily retrieved using Github API. If you cannot use the API answer or from you can go to github --> settings --> emails , under the Primary email address you will find {id}+{user_name}@users.noreply.github.com. The format is simillar to this: , that 50826640 is the id.
From this answer
If you cannot use the API answer or from you can go to
github --> settings --> emails, under thePrimary email addressyou will find{id}+{user_name}@users.noreply.github.com.
This is at least true if you have Keep my email address private checked.
I have this text in the Keep my email address private explanation, and I'm guessing this will be there even if it is turned off.
Look for 'noreply' in the emails section.
Don't use the ID stated in other answers I tried this and it didn't work and said it was invalid on AWS.
It's located on the main GIT repository. Those random letters and numbers are below the add file button with no description, obviously. Not only that but it's clickable if you click into it you'll find a much longer commit ID. You want the longer one.
Everyone loves completely unnecessary complexity in a platform!!
2Step-2 Enter your Github username
You got it!
The second method is:
- Go to your GitHub account and click on the Settings option.
- Go to the emails section.
- You id is listed there. The format is: {id}+{user_name}@users.noreply.github.com
