Github is not registering contributions

Asked

Viewed 307 times

0

I have the following problem with Github, it is not registering my contributions although in the repository it shows that the updates are being performed without any problem. Does anyone know what it might be? I’m currently using visual code.

Não esta fazendo registro

Registro do repositório

  • You’re performing these commits in a Save, or in the master repository?

  • In the master repository.

  • Just to confirm, put your github there. But I believe there may be two possibilities, your repository is private and you have not activated the 'Include private contributions on my profile' option in your Github account settings. Or the email you are using for commiting is not associated with your Github account.

  • My Git //github.com/Richar2

  • But the strange thing is that a repository that was making the records usually also stopped.

1 answer

3


Run this command on the terminal git config --global user.name and see if 'Richard' or 'Richar2' appears, if 'Richard' appears, run the following command git config --global user.name "Richar2" and then try committing something again, and see if you’re counting your contributions.

The reason for this is that your last commits came with the username Richard, but your Github name is as Richar2, and when the same ones are different, the commits performed are not considered their own.

If this doesn’t solve your problem, also check your email git config --global user.email and see if the configured email is the same that you have linked to your github account, if not, run the following command git config --global user.email seuemailaqui. (But I believe the e-mail is already correct)

  • Thank Marcelolx ! The problem was in the same name.

  • Ball show! :)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.