Github remote permission denied

后端 未结 5 1095
小蘑菇
小蘑菇 2020-11-28 03:23

I\'m trying to upload my repo on github and go through all the steps upto:

git push -u origin master

at that point it gives me the following er

5条回答
  •  旧时难觅i
    2020-11-28 04:22

    The problem is you are trying to push into new github account using old github account's ssh key, so generate a new SSH key for the new github account using this link https://help.github.com/en/github/authenticating-to-github/error-permission-to-userrepo-denied-to-userother-repo and then add it your github account. After this try to push, it works

提交回复
热议问题