How do I change my author name on GitHub?

前端 未结 4 929
情歌与酒
情歌与酒 2020-12-12 22:08

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

4条回答
  •  伪装坚强ぢ
    2020-12-12 22:50

    $ git config --global user.name "Scott Chacon"
    $ git config --global user.email "schacon@gmail.com"
    

提交回复
热议问题