Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Github shows that my commits have been pushed by 2 authors: me and me

Tags:

git

github

GitHub shows that my commits have been pushed by 2 authors: me and me.

How can I turn it off?
That is, how can I avoid seeing "me" and "me" (twice my GitHub account) as "authors" of a commit?

like image 569
Matviy Avatar asked Jan 31 '18 06:01

Matviy


1 Answers

its happens when your local Git configuration doesn't match with your Github account.

you can check this by:

git config --global user.email

to change your email configuration

git config --global user.email "your email"

like image 150
Milad Nourizade Avatar answered Oct 18 '22 11:10

Milad Nourizade