解决fatal: unable to connect to github.com问题

错误信息:
bower error status code of git: 128
fatal: unable to connect to github.com:
github.com[0: 你的IP]: errno=Operation timed out
原因:
需要用https才能读到数据
解决方法:输入命令
git config --global url."https://".insteadOf git://

时间: 2024-07-31 22:32:02

解决fatal: unable to connect to github.com问题的相关文章

GitHub Desktop报错fatal: unable to access 'https://github.com……: schannel: failed to open CA file 'C:/Users……bundle.crt': No such file or directory的解决办法

昨天github桌面版push的时候开始报错,提示某个crt文件找不到,大概就是下面这样 fatal: unable to access 'https://github.com/XXX/': schannel: failed to open CA file 'C:/Users/Andrew/AppData/Local/GitHubDesktop/app-1.2.2/resources/app/git/mingw64/bin/curl-ca-bundle.crt': No such file or

(转)git clone出现 fatal: unable to access 'https://github.com/...'的解决办法

如下图所示,当我Git克隆别人的repo时,会发生这样的错误.发现它尝试用http和https代理,后来仔细回想了下,原来是自己用了代理,忘记取消 # 查看当前git 的设置 git config --global -l # 设置代理 git config --global http.proxy http://127.0.0.1:1080 git config --global https.proxy http://127.0.0.1:1080 http://也可以改成sockets5://,但

git同步遇到报错“fatal: unable to access 'https://github.com/lizhong24/mysite2.git/': Peer reports incompatible or unsupported protocol version.”

git同步遇到报错"fatal: unable to access 'https://github.com/lizhong24/mysite2.git/': Peer reports incompatible or unsupported protocol version." 解决办法: yum update -y nss curl libcurl 问题解决了. git同步遇到报错"fatal: unable to access 'https://github.com/liz

fatal: unable to access 'https://github.com/open-falcon/falcon-plus.git/': Peer reports incompatible or unsupported protocol version

git通过git clone下载github上的资源到机器上,结果出现如题所示的错误. [plain] view plain copy [[email protected] data]# git clone https://github.com/pingcap/tidb-docker-compose.git Cloning into 'tidb-docker-compose'... fatal: unable to access 'https://github.com/pingcap/tidb-

git同步遇到报错“fatal: unable to access 'https://github.com/ruanwenwu/newp.git/': Peer reports incompatible or unsupported protocol version.”

git同步遇到报错"fatal: unable to access 'https://github.com/ruanwenwu/newp.git/': Peer reports incompatible or unsupported protocol version." 网上很多人说是因为git版本需要升级.我将git版本升级到最新, [[email protected] tp5test]# git --version git version 2.16.2 问题却依然存在. 最后: y

git——解决“fatal: Authentication failed for 'https://github.com/balabala”

平复一下心情,到底如何在github上将队友和owner的仓库连接?如何push代码到远程仓库???找了巨多教程,终于解决了~ 刚到公司不久,开始学着用git,在提交代码的时候怎么都提不上去! 解决办法: 1.owner需要在github上创建一个组织:Create an organization,在这里邀请成员 2.在该组织下创建一个team,然后邀请你的团队成员 3.新建一个repository 4.队友需要在自己的电脑里生成一个ssh key.关于如何生成ssh key : https:/

git 解决fatal: Unable to create ‘x/.git/index.lock‘’

今天在分支上切换到主分支发生fatal: Unable to create 'D:/xxxxxx/.git/index.lock': File exists.的错误,在这里记录下备查. 解决方法是: 执行rm -f操作就可以切换到主分支了. 具体命令是:rm -f D:/xxxxxx/.git/index.lock

解决:Unable to connect to repository https://dl-ssl.google.com/android/eclipse/site.xml

ailed to fectch URl https://dl-ssl.google.com/android/repository/addons_list.xml, reason: Connection to https://dl-ssl.google.com refused 解决办法来源于:code.google.com 用notepad打开C:\WINDOWS\system32\drivers\etc中的hosts文件 在最后一行添加74.125.237.1 dl-ssl.google.com

编译OpenWRT,解决“fatal: Unable to find remote helper”

编译报错: make[3]: Entering directory `/home/hevake_lcj/Workspace/OpenWRT/trunk/package/network/config/netifd' mkdir -p /home/hevake_lcj/Workspace/OpenWRT/trunk/dl echo "Checking out files from the git repository..."; mkdir -p /home/hevake_lcj/Works