git报错git clone https://github.com/synfinatic/tcpreplay.git

一、背景说明

今天使用在Cygwin中git clone时报fatal: I don‘t handle protocol ‘?https‘,如下:

以为是Cygwin实现的git有点问题没太在意,换去cmd执行,但一样是报fatal: I don‘t handle protocol ‘?https‘

而且有个Warning: Your console font probably doesn‘t support Unicode.又因此以为是字体问题

标题栏----右键----属性,将字体修改成仿宋,警告没了但是还是fatal: I don‘t handle protocol ‘?https‘

没办法搜索一波,然后在stackoverflow上看到了不少赞的答案

特殊字符?有道理,git不可能不支持https的,而且我链接是没有一个中文cmd中怎么会出现Unicode呢?

再回头仔细看链接,终于找到答案:https前有两个空格,两个空格不是问题但问题是有一个空格是Unicode的

二、处理办法

此类错误大概率是链接,尤其是协议前(比如http、https前)有特殊字符造成的

比如我这里报错就是https前有一个Unicode的空格,将其删除再执行即可:

原文地址:https://www.cnblogs.com/lsdb/p/9216687.html

时间: 2024-07-29 14:55:37

git报错git clone https://github.com/synfinatic/tcpreplay.git的相关文章

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-

[cocoaPods]在pod search AFNetworking之后报错([!] /usr/bin/git clone 'https://github.com/CocoaPods/Specs.)

在pod search AFNetworking之后遇到了这个问题 执行 sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer (-switch 后面加上你的Xcode.app包内容里的Developer的文件夹路径即可) 版权声明:本文为博主原创文章,未经博主允许不得转载. [cocoaPods]在pod search AFNetworking之后报错([!] /usr/bin/git clone 'https

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: 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

Git报错: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

在使用Git来克隆仓库报了错误,如下: fatal: unable to access 'https://github.com/xingbuxing/TA-Lib-in-chinese.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 解决方案: env命令设置GIT_SSL_NO_VERIFY环境变量为"ture",并同时调用正常的git clone命令 env GIT_SSL_

git报错failed to push some refs to '[email protected]:Markprint/github.git'

 这个不知名小错误用了我两天的空余时间mmp   就是这里报的错 输入 git push origin master -f 解释为: 远程分支上存在本地分支中不存在的提交,往往是多人协作开发过程中遇到的问题,可以先fetch再merge,也就是pull,把远程分支上的提交合并到本地分支之后再push.如果你确定远程分支上那些提交都不需要了,那么直接git push origin master -f,强行让本地分支覆盖远程分支 终于有了,以后还需要具体研究一下 虽然用的github,但是要推广一下

git报错:'fatal:remote origin already exists'怎么处理?附上git常用操作以及说明。

git添加远程库的时候有可能出现如下的错误, 怎么解决? 只要两步: 1.先删除 $ git remote rm origin 2.再次执行添加就可以了. ----------------------------------------------git常用操作------------------------------------------------ 说明,以下整理来自廖雪峰大神的<git教程>. 各位童鞋要下载git但是网速不给力的,可以从这里下载:https://pan.baidu.

git报错:&#39;fatal:remote origin already exists

git报错:'fatal:remote origin already exists'怎么处理?附上git常用操作以及说明. git添加远程库的时候有可能出现如下的错误, 怎么解决? 只要两步: 1.先删除 1 $ git remote rm origin 2.再次执行添加就可以了. ----------------------------------------------git常用操作------------------------------------------------ 说明,以下整

https://github.com/miaozhongfeng/my-repository.git浅谈数组求和java实验

          这次作业呢,我是用java来写的,虽然java只是自己假期里看的一点点,但是人总是要接触新事物的,应该不断向前.          说明:这次作业有一个遗憾,就是我花了一个下午真真没搞懂POI包的使用,是我的智商问题吗?由于作业提交比较急迫,暂时先放弃,用的java的文件流,男人嘛,就是要敢舍敢弃!(是我胡说八道的).当然,不搞懂它我是不会罢休的!拭目以待!          好了,不瞎扯了.进入正题吧.我用的编译软件是my Eclipse2014(这个软件不得不说:真TM好