Github push 错误The requested URL returned error: 403 Forbidden while accessing
来源:互联网 发布:雀巢网络授权编号查询 编辑:程序博客网 时间:2024/05/22 15:35
通过HTTPS 方式进行gti操作时,在push命令时,出现了这样一个问题:
The requested URL returned error: 403 Forbidden while accessing
导致无法推送自己的程序。经过一番搜索和测试,这里写一个最简单的解决办法:
在命令行中,更改远端仓库的地址,将自己的用户名加入到地址前方:
git remote set-url origin https://yourusername@github.com/user/repo.git
如我原来的 origin地址是: https://github.com/shincling/Initial_test_02.git
此时变成了: https://shincling@github.com/shincling/Initial_test_02.git
之后进行Push 操作,如 :git push origin master 就会有弹出框提示你输入密码
实际上还可以直接把密码也加入到origin中去来直接Push
from:
http://stackoverflow.com/questions/7438313/pushing-to-git-returning-error-code-403-fatal-http-request-failed
0 0
- 解决github push错误The requested URL returned error: 403 Forbidden while accessing
- 解决github push错误The requested URL returned error: 403 Forbidden while accessing
- 解决github push错误The requested URL returned error: 403 Forbidden while accessing
- Github push 错误The requested URL returned error: 403 Forbidden while accessing
- 解决github push错误The requested URL returned error: 403 Forbidden while accessing
- 解决github push错误The requested URL returned error: 403 Forbidden while accessing
- git错误: The requested URL returned error: 403 Forbidden while accessing https://github.com/wangz/futu
- github push 错误The requested URL returned error: 403 Forbidden while ..
- Centos下git push提示“error: The requested URL returned error: 403 Forbidden while accessing”
- 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
- "error: The requested URL returned error: 403 Forbidden while accessing“(git错误)
- 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
- 解决git提交问题error: The requested URL returned error: 403 Forbidden while accessing
- error: The requested URL returned error: 403 Forbidden while accessing https
- git clone error: The requested URL returned error: 403 Forbidden while accessing.
- 解决git提交问题error: The requested URL returned error: 403 Forbidden while accessing
- android 仿淘宝京东等viewpager自动滚动
- 学习 struts所发现问题 指导
- Chrome 39-45
- 一个数组中某个键的值相同则把相同的数组组成一个新数组
- 从远程库克隆
- Github push 错误The requested URL returned error: 403 Forbidden while accessing
- alpha测试和beta测试的区别
- 数组的排序,反转,折半查找,插入
- Android 简单图片浏览器 ImageView
- Android模拟器:Genymotion
- 第8周—项目2 建立链串的算法库
- 第8周项目2-建立链串的算法库
- 在CentOS 7中安装与配置JDK8
- 三角形 算法第一集