phoxd
phoxd

Reputation: 1622

Git push resulted in different user

I was using public WIFI when pushing changes to the Git. But when checked who committed I got different user.

enter image description here

But I also had this error when pushing to master but still able to push.

enter image description here

Could someone explain why it happened and is it security concern?

Upvotes: 0

Views: 45

Answers (1)

VonC
VonC

Reputation: 1323223

Check your git configuration:

git config user.name
git config user.email

The email must be the one from your GitHub account.

Upvotes: 1

Related Questions