Frecuentemente publicamos actualizaciones de nuestra documentación. Es posible que la traducción de esta página esté en curso. Para conocer la información más actual, visita la documentación en inglés. Si existe un problema con las traducciones en esta página, por favor infórmanos.
GitHub AE está actualmente en un lanzamiento limitado. Por favor, contacta a nuestro equipo de ventas para conocer más sobre esto.

Why are my commits linked to the wrong user?

GitHub AE 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.

Note: If your commits are linked to another user, that does not mean the user can access your repository. A user can only access a repository you own if you add them as a collaborator or add them to a team that has access to the repository.

Commits are linked to another user

If your commits are linked to another user, that means the email address in your local Git configuration settings is connected to that user's account on GitHub AE. In this case, you can change the email in your local Git configuration settings to the address associated with your account on GitHub AE to link your future commits. Old commits will not be linked. For more information, see "Setting your commit email address."

Commits you make from this point forward will be linked to your account.

Commits are not linked to any user

If your commits are not linked to any user, the commit author's name will not be rendered as a link to a user profile.

To check the email address used for those commits and connect commits to your account, take the following steps:

  1. Navigate to the commit by clicking the commit message link. Commit message link
  2. To read a message about why the commit is not linked, hover over the blue to the right of the username. Commit hover message
  • 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 AE. If the email address has a Gravatar associated with it, the Gravatar will be displayed next to the commit, rather than the default gray Octocat.
  • 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 AE.
  • Invalid email The email address in your local Git configuration settings is either blank or not formatted as an email address.

You can change the email in your local Git configuration settings to the address associated with your account to link your future commits. Old commits will not be linked. For more information, see "Setting your commit email address."

If your local Git configuration contained a generic email address, or an email address that was already attached to another user's account, then your previous commits will not be linked to your account. While Git does allow you to change the email address used for previous commits, we strongly discourage this, especially in a shared repository.

Further reading

¿Te ayudó este documento?

Política de privacidad

¡Ayúdanos a hacer geniales estos documentos!

Todos los documentos de GitHub son de código abierto. ¿Notas algo que esté mal o que no sea claro? Emite una solicitud de cambios.

Haz una contribución

O, aprende cómo contribuir.