git push显示 returning Error Code 403 fatal: HTTP request failed
2018-03-23 10:24
549 查看
编辑
第7行是原来的,把它修改成第8行,使用ssh传输。同时要确保现在使用的git的email在github上已验证即可
.git/config
1 [core] 2 repositoryformatversion = 0 3 filemode = true 4 bare = false 5 logallrefupdates = true 6 [remote "origin"] 7 url = https://github.com/yourusername/repository_name.git 8 url = ssh://git@github.com/yourusername/repository_name.git 9 fetch = +refs/heads/*:refs/remotes/origin/* 10 [branch "master"] 11 remote = origin 12 merge = refs/heads/master 13 [http] 14 [https]
第7行是原来的,把它修改成第8行,使用ssh传输。同时要确保现在使用的git的email在github上已验证即可
相关文章推荐
- Pushing to Git returning Error Code 403 fatal: HTTP request failed
- Pushing to Git returning Error Code 403 fatal: HTTP request failed 新解决办法
- Git - error: RPC failed; result=22, HTTP code = 401 fatal: The remote end hung up unexpectedly
- Git Clone时报 "fatal: index-pack failed error: RPC failed; result=18, HTTP code = 200"原因文件过大需要服务端配置一下
- git push时出现error: RPC failed; result=22, HTTP code
- git push error: RPC failed; result=56, HTTP code = 0 ,the remote end hung up unexpectedly
- git push error: RPC failed; result=22, HTTP code = 411
- git clone error: RPC failed; result=52, HTTP code = 0 fatal: The remote end hung up unexpectedly
- git push时出现error: RPC failed; result=22, HTTP code = 411的问题
- git push报错:error: RPC failed; result=22, HTTP code = 413
- git push error HTTP code = 413
- Git Clone时报 "fatal: index-pack failed error: RPC failed; result=18, HTTP code = 200"
- git push失败 错误代码:error: RPC failed; result=56, HTTP code = 0
- Git - error: RPC failed; result=22, HTTP code = 401 fatal: The remote end hung up unexpectedly
- error: RPC failed; result=22, HTTP code = 413 git push时
- git - error: RPC failed; result=22, HTTP code = 400
- git下载百度Apollo时遇见错误 error: RPC failed; result=56, HTTP code = 200.00 KiB/s问题
- vs2015 git push代码的时候出现The requested URL returned error: 403
- git clone error: RPC failed; result=22, HTTP code = 502
- 使用git error: RPC failed; result=22, HTTP code = 411