最新消息:

git push : fatal: remote error: You can’t push to git 解决办法

error admin 2浏览

branch正确的情况下,

不知为什么,在push的时候总是出现:

[root@aikaiyuan ~]# git push
fatal: remote error:
  You can't push to git://github.com/aikaiyuan/python.git
  Use git@github.com:aikaiyuan/python.git

的提示,

解决办法:

[root@aikaiyuan ~]# git remote rm origin
[root@aikaiyuan ~]# git remote add origin git@github.com:aikaiyuan/python.git
[root@aikaiyuan ~]# git push origin

转载请注明:爱开源 » git push : fatal: remote error: You can’t push to git 解决办法

转载请注明:爱开源 » git push : fatal: remote error: You can’t push to git 解决办法