Where can I find the GitHub ID in my account?
GithubGithub Problem Overview
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:
http://caius.github.io/github_id/
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.
Github Solutions
Solution 1 - Github
It can be easily retrieved using GitHub API:
https://api.github.com/users/your_github_user_name
where instead of your_github_user_name you must use the desired GitHub username.
Example:
https://api.github.com/users/github
Solution 2 - Github
Solution 3 - Github
It can be easily retrieved using Github API
. If you cannot use the API answer or from http://caius.github.io/github_id/ 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: [email protected]
, that 50826640
is the id
.
Solution 4 - Github
From this answer
> If you cannot use the API answer or from http://caius.github.io/github_id/ you can go to github --> settings --> emails
, under the Primary email address
you 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.
Solution 5 - Github
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!!
Solution 6 - Github
Step-1: Go to this link: https://caius.github.io/github_id/
Step-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