Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I change my author name on GitHub?

Tags:

git

github

I'm new to web development and GitHub. When I commit any changes, these changes are reflected on my GitHub repo under "unknown (author)". How do I change this to reflect my name/email address?

Thanks.

like image 315
oxo Avatar asked Feb 15 '11 17:02

oxo


People also ask

How do I change the author and committer email in git?

The git commit --amend --reset-author --no-edit command is especially useful if you created commits with the wrong author information, then set the correct author after-the-fact via git config .


1 Answers

$ git config --global user.name "Scott Chacon" $ git config --global user.email "[email protected]" 
like image 180
Ori Avatar answered Sep 20 '22 15:09

Ori