Article version: Enterprise Server 2.15

This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2019-10-16. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Troubleshooting commits

Commit exists on GitHub but not in my local clone

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

Why are my commits linked to the wrong user?

GitHub Enterprise 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 are my commits in the wrong order?

If you rewrite your commit history via git rebase or a force push, you may notice that your commit sequence is out of order when opening a pull request.

Ask a human

Can't find what you're looking for?

Contact us