Git commits are not getting linked with my GitHub account

后端 未结 6 613
北海茫月
北海茫月 2020-12-31 01:02

I\'m having problems trying to link my commits to my GitHub account. Commits are being reported on GitHub the way my picture shows. The values user.name and use

6条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-31 01:19

    You have to get the reference for the remote repo first.

    git remote add origin https://github.com/yourGithubAccount/yourRepo.git

    then do git push -u origin master.

提交回复
热议问题