解决:git使用git push 命令跳出remote: Permission to A denied to B的问题

开始git上传项目,不料,在git push这一步骤发生了错误?

remote: Permission to qwe2193066947/firstRepository.git denied to murenziwei.

fatal: unable to access 'https://github.com/qwe2193066947/firstRepository.git/': The requested URL returned error: 403

这错误翻译成中文的大概意思:用户murenziwei没有权限访问用户qwe2193066947的存储库firstRepository。

也就是说,git环境终端里,我登入的是murenziwei账号,所以我就应该换成qwe2193066947账号才能解决问题。

于是,立刻执行登录github账号的有关git命令行

控制面板-->用户

点击删除

或者编辑账号完成后,回到终端,再次输入git push

参考:http://www.cnblogs.com/murenziwei/p/9621599.html

开始git上传项目,不料,在git push这一步骤发生了错误?

remote: Permission to qwe2193066947/firstRepository.git denied to murenziwei.

fatal: unable to access 'https://github.com/qwe2193066947/firstRepository.git/': The requested URL returned error: 403

这错误翻译成中文的大概意思:用户murenziwei没有权限访问用户qwe2193066947的存储库firstRepository。

也就是说,git环境终端里,我登入的是murenziwei账号,所以我就应该换成qwe2193066947账号才能解决问题。

于是,立刻执行登录github账号的有关git命令行

控制面板-->用户

点击删除

或者编辑账号完成后,回到终端,再次输入git push

参考:http://www.cnblogs.com/murenziwei/p/9621599.html

猜你喜欢

转载自www.cnblogs.com/116970u/p/10851433.html
今日推荐