Skip to content

In my private repo, i see commits by another USER!! #70273

Discussion options

You must be logged in to vote

Random guess: If you make commits on the web by changing a file on github.com, the commit has the correct author, and if you make a commit locally and push it it has the wrong author. Is that right?

Last I checked, GitHub identifies commit authors by their email addresses. Run git config user.email locally to check if your email is spelled correctly. You can use git config --global user.email to check the global setting, or run git config user.email (no --global) in a repository just in case the repository's settings are different from global settings.

Replies: 8 comments 14 replies

Comment options

You must be logged in to vote
8 replies
@adamd1985
Comment options

@luismeruje
Comment options

@ghostinhershell
Comment options

@luismeruje
Comment options

@peasantman1
Comment options

Comment options

You must be logged in to vote
4 replies
@adamd1985
Comment options

@adamd1985
Comment options

@NeedagoblinX
Comment options

@Danni1326
Comment options

Answer selected by adamd1985

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as spam.

Comment options

You must be logged in to vote
2 replies
@zamryOn
Comment options

@zamryOn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working correctly Code Security Build security into your GitHub workflow with features to keep your codebase secure