GIt连接GitHub时遇到问题 HttpRequestException encountered
2018-03-19 22:36
459 查看
一般来在git和githu连接后只需要两步就好
$ git remote add origin https://github.com/qingshahguyan/testgit.git $ git remote rm origin 但是在$ git remote rm origin遇到fatal:HttpRequestException encountered
解决:Github 禁用了TLS v1.0 and v1.1,必须更新Windows的git凭证管理器
通过此网址https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/
下载之后安装重启git窗口
$ git remote add origin https://github.com/qingshahguyan/testgit.git
qingshahguyan是你的用户名testgit是你自己建的 repository名称
$ git remote rm origin
出现
**$ git push -u origin master Counting objects: 6, done. Delta compression using up to 8 threads. Compressing objects: 100% (4/4), done. Writing objects: 100% (6/6), 688 bytes | 344.00 KiB/s, done. Total 6 (delta 2), reused 0 (delta 0) remote: Resolving deltas: 100% (2/2), done. To https://github.com/qingshahguyan/testgit.git * [new branch] master -> master **
就可以了,说明你的git和github已经可以同步了
相关文章推荐
- symfony新建遇到问题-[GuzzleHttp\Exception\RequestException]
- 关于建立远程连接HttpRequest 遇到的问题
- 【Git】HttpRequestException encountered
- ASIHTTPRequest使用过程中遇到的问题及解决办法
- ASIHTTPRequest使用过程中遇到的问题及解决办法
- 解决WebClient或HttpWebRequest首次连接缓慢问题
- [iOS]导入ASIHttpRequest遇到的问题
- Git(Android Studio)项目提交更新到github详细步骤及可能遇到问题
- Chrome 下,重复使用 XMLHttpRequest进行Post数据时,遇到一个奇怪的问题
- web面试中,遇到无数次的问题“无状态的HTTP协议如何提供有状态的连接”?
- 解决HttpWebRequest首次连接特别慢的问题
- HttpWebRequest抓数据遇到的问题
- 部署Tomcat8遇到的 “The method getDispatcherType() is undefined for the type HttpServletRequest” 问题
- centos6.5搭建git服务器 win10 安装git客户端连接 和遇到的问题+解决方式
- GIT SSH连接遇到到的问题
- ASIHTTPRequest使用过程中遇到的问题及解决办法
- Jmeter 遇到的问题:rc="Non HTTP response code: java.net.NoRouteToHostException" rm="Non HTTP response mess
- 问题3:HTTP Status 500 - Request processing failed; nested exception is org.apache.ibatis.binding
- Git和GitHub连接后无法推送的问题
- git push到github报:fatal: HTTP request failed 的可能原因