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: 4 comments 10 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
2 replies
@adamd1985
Comment options

@adamd1985
Comment options

Answer selected by adamd1985
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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
7 participants