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年前) 回复
解决方案:
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年前) 回复
相关文章推荐
- error: The requested URL returned error: 403 Forbidden while accessing https://github.com/blah/blahb
- error: The requested URL returned error: 403 Forbidden while accessing https://github.com/blah/blah
- git错误: The requested URL returned error: 403 Forbidden while accessing https://github.com/wangz/futu
- git报错:error: The requested URL returned error: 403 Forbidden while accessing https://github.com/summ
- git 无法提交报错 - error: The requested URL returned error: 403 Forbidden while accessing https://github.c
- error: The requested URL returned error: 403 Forbidden while accessing https
- Github push 错误The requested URL returned error: 403 Forbidden while accessing
- 解决git提交问题error: The requested URL returned error: 403 Forbidden while accessing
- The requested URL returned error:406 while accessing https
- 解决git提交问题error: The requested URL returned error: 403 Forbidden while accessing
- 解决 error: The requested URL returned error: 403 Forbidden while accessing
- 解决git提交问题error: The requested URL returned error: 403 Forbidden while accessing
- 解决git提交问题error: The requested URL returned error: 403 Forbidden while accessing
- git clone error: The requested URL returned error: 403 Forbidden while accessing.
- "error: The requested URL returned error: 403 Forbidden while accessing“(git错误)
- github 提交原创代码出现的问题-The requested URL returned error: 403 和github Permission denied (publickey) 的问题
- error: The requested URL returned error: 401 Unauthorized while accessing h
- GitHub 在使用命令行 git push 时报错:The requested URL returned error: 403
- 解决git clone时报错:The requested URL returned error: 401 Unauthorized while accessing
- 解决git clone时报错:The requested URL returned error: 401 Unauthorized while accessing