I have two repositories on github, and my usernames on github and my local git name match. But for some reason github does not attribut my commits to me - so in statistics, there are no commits by the owner, only by some user with the same name. What could cause such behaviour?
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.
Unverified means your signature is wrong. This can be if you commit with the wrong E-Mail/Password, if you haven't uploaded the Signature on GitHub(on that account) or if you've uploaded it wrongly.
Your local Git commit email isn't connected to your account 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.
Have you checked what e-mail address is associated with the commit message? I believe Github only attributes commits to you if the e-mail address associated with the commit is also connected to your Github account...
See Github's cheat sheet for information about how to add e-mails to your git config:
git config --global user.email "[email protected]"
If you type:
git config --list
you'll see all your current git configuration settings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With