Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Github not recognizing my account when i commit

Tags:

git

github

When push commits to Github on my windows computer, Github doesn't recognize my account commits, but when i do it on my mac it does.

Already checked that my email address is the same on my PC as on Github as well as it being config as the global email address for my computer.

The last commit is showing from my mac and im getting credit for it and the first 2 are from my PC where it is showing my name but not my account. https://ibb.co/VVsjsGR

like image 906
Jonathan Ishii Avatar asked Jul 04 '19 02:07

Jonathan Ishii


People also ask

Why is my commit not showing on GitHub?

Commits must be made with an email address that is connected to your account on GitHub.com, or the GitHub-provided noreply email address provided to you in your email settings, in order to appear on your contributions graph. For more information about noreply email addresses, see "Setting your commit email address."

Why are my commits linked to the wrong user?

GitHub uses the email address in the commit header to link the commit to a GitHub user. If your commits are being linked to another user, or not linked to a user at all, you may need to change your local Git configuration settings, add an email address to your account email settings, or do both.

Why I Cannot commit changes in GitHub?

It sounds like files have been committed and pushed to the repository on github since you last updated. doing a git pull will pull those changes down and merge them in with your changes. You can then test everything and make sure it still works, and then do a push.

Why is my commit not verified?

Any of the following is true: - The commit is signed but the signature could not be verified. - The commit is not signed and the committer has enabled vigilant mode. - The commit is not signed and an author has enabled vigilant mode.

Why is my author not recognized on GitHub?

Unrecognized author (no email address) If you see this message without an email address, you used a generic email address that can't be connected to your account on GitHub. You will need to set your commit email address in Git, then add the new address to your GitHub email settings to link your future commits. Old commits will not be linked.

Why are my commits not linked to my original GitHub page?

First correct your git config settings as has been mentioned already. Your commits might be unlinked to your original GitHub due to various reasons, i.e. incorrect/old email, incorrect/old username, etc. Also, your commit and/or authorship details might be incorrect.

How do I find the author of a commit in GitHub?

Navigate to the commit by clicking the commit message link. To read a message about why the commit is not linked, hover over the blue to the right of the username. Unrecognized author (with email address) If you see this message with an email address, the address you used to author the commit is not connected to your account on GitHub.

Why are my GitHub contributions not showing up on my profile?

There's the official GitHub article on Why are my contributions not showing up on my profile? Commits will appear on your contributions graph if they meet all of the following conditions: The email address used for the commits is associated with your GitHub account. The commits were made in a standalone repository, not a fork.


2 Answers

First of all You need to make sure your git config for username and password is OK.If it is not set then set like:

git config --global user.name 'your username'
git config --global user.password 'your password'

Then you need to add your ssh key to your git hub account.

Check your existing SSH keys:

Open Terminal and Enter command :

$ ls -al ~/.ssh

The filenames of the public keys are one of the following:

id_dsa.pub 
id_ecdsa.pub
id_ed25519.pub 
id_rsa.pub
  1. If you don't have an existing public and private key pair, or don't wish to use any that are available to connect to GitHub, then generate a new SSH key.
  2. If you see an existing public and private key pair listed (for example id_rsa.pub and id_rsa) that you would like to use to connect to GitHub, you can add your SSH key to the ssh-agent.

For quick reference see how to add a new SSH key to your GitHub account

like image 142
naib khan Avatar answered Oct 18 '22 00:10

naib khan


From looking at your ForniteKillFeed repo, you have some commit attributed to Jonathan Ishii <[email protected]@yahoo.com>...

This is probably not your real email address, so make sure to run git config --global user.email YOUR_EMAIL_ADRESS with a correct email address...

like image 27
Khoyo Avatar answered Oct 18 '22 00:10

Khoyo