解决github push错误: The requested URL returned error:403 Forbidden while accessing

版权声明:本文为Banana原创文章,未经Banana允许不得转载。评论请留下你认真观看后的想法或者意见,非常感谢! https://blog.csdn.net/qq1515312832/article/details/81185516

解决git push错误

The requested URL returned error:403 Forbidden while accessing

 

答案:私有项目,没有权限,输入用户名密码,后者远程地址采用这种类型:vi.git/config


 


[Premote "origin"]

       url=https://github.com/用户名/仓库名.git

修改为


[Premote "origin"]

       url=https://用户名:密码@github.com/用户名/仓库名.git

 

猜你喜欢

转载自blog.csdn.net/qq1515312832/article/details/81185516