Git pushing to remote GitHub repository as wrong user

后端 未结 15 842
别跟我提以往
别跟我提以往 2020-11-30 17:49

I have a work GitHub account and a personal one. First I used the personal one for test projects, then I moved on and did a repository with the other account on the same com

15条回答
  •  悲哀的现实
    2020-11-30 18:11

    Go to Control Panel > User Accounts > Credential Manager > Generic Credentials

    remove the git credentials. Then run git push. This will prompt to ask for the git credentials. Enter your correct credentials.

提交回复
热议问题