Github shows name instead of a linked username in commits

前端 未结 4 1004
囚心锁ツ
囚心锁ツ 2021-01-01 10:59

I just helped a friend to set up a Github account to collaborate on my project. His commits come through, but for some reason on the \"Source\" page of my repository next to

4条回答
  •  醉酒成梦
    2021-01-01 11:43

    Run this in Terminal:

      git config --global user.name "your-github-username"
      git config --global user.email "your-github-email"
    

提交回复
热议问题