码迷,mamicode.com
首页 > 数据库 > 详细

error: The requested URL returned error: 403 Forbidden while accessing https://github.com/blah/blahb

时间:2015-04-29 17:18:52      阅读:198      评论:0      收藏:0      [点我收藏+]

标签:git

转载自:http://www.uhdesk.com/?p=12


如红色部分所示,clone时候就添加上用户名,随后会提示你输入密码,就OK了


git clone https://username@github.com/blah/blahblah.git
如果你想后面的操作也不再输入密码了,你可以在地址中加上密码


git clone https://username:password@github.com/blah/blahblah.git
如果你已经clone了,也可以通过重设地址的方式


git remote set-url origin  https://username:password@github.com/blah/blahblah.git

error: The requested URL returned error: 403 Forbidden while accessing https://github.com/blah/blahb

标签:git

原文地址:http://blog.csdn.net/hellochenlian/article/details/45367487

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!