您的位置:首页 > 理论基础 > 计算机网络

error: The requested URL returned error: 403 while accessing https://jacsice@github.com/jacsice/hous

2014-06-15 17:44 585 查看
第一种方法

解决方案:

vim .git/config

修改

[remote "origin"]  

    url = https://github.com/wangz/example.git  

为:

[remote "origin"]  

    url = https://wangz@github.com/wangz/example.git  

第二种方法

不知道你是使用何种协议执行“git clone”命令的,试试:

git clone git@github.com:tingzi/NodeExample.git来从远程克隆库到本地。

--- 共有 3 条评论 ---

冷峻花开回复 @3岁就很猥琐 :我是刚刚接触Git
那么ssh又是怎么弄的呢? (9个月前)  

Gooo回复 @亭子happy :
ssh拿下来的库是读写操作, https是只读.. 知道了吧.. (1年前)  回复
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐