Troubleshooting commits

  • Commit exists on GitHub but not in my local clone

    Sometimes a commit will be viewable on GitHub Enterprise Server, but will not exist in your local clone of the repository.

  • Why are my commits linked to the wrong user?

    GitHub Enterprise Server 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.

Did this doc help you?Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.