aron_weston
aron_weston

Reputation: 65

Double Username on Github

I'm making changes to my repo's on Github but it says that the commits are made by aronweston when my username is aronrweston.

My main user https://github.com/aronrweston Second mystery username: https://github.com/aronweston

Every time I make commits through my IDE, it commits as the second username.

Is this normal? It doesn't say that I have made any commits on my account when I have?

Upvotes: 1

Views: 377

Answers (1)

VonC
VonC

Reputation: 1323773

First, the commit can be made (authored) by xxx without GitHub having an account https://github.com/xxx.

Authorship (git config user.name) is not equal to authentication (the GitHub account at https://github.com/xxx)

Second, to avoid any error, make sure your git config -l --show-origin --show-scope executed in your local repository has not "local" user.name, only one global user.name.

That way, you won't have to deal with multiple authors.
As commented, the same applies for user.email.

Upvotes: 1

Related Questions