remote: You do not have permissi

2020-11-13  本文已影响0人  草帽三Jmg

解决方案

第一步,将github中的项目clone下来

第二步,修改.git/cofig中的url

cd 到项目中,编辑 .git/cofig中的url

vim .git/config

[remote "origin"]

url = https://github.com/git的用户名/项目名称

的url改为

url = https://git的用户名@github.com/git的用户名/项目名称

第三步,git push -u origin master

原文:http://www.xiaosongit.com/index/detail/id/654.html

上一篇下一篇

猜你喜欢

热点阅读