How do I change my author name on GitHub?

前端 未结 4 934
情歌与酒
情歌与酒 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条回答
  •  猫巷女王i
    2020-12-12 22:29

    Git uses your username to associate commits with an identity. The git config command can be used to change your Git configuration, including your username. Here is a good guide available: https://help.github.com/articles/setting-your-username-in-git/

提交回复
热议问题