草庐IT

resetting

全部标签

[Unity] Unable to add package [git地址] OpenSSL SSL_read: Connection was reset, errno 10054问题

OpenSSLSSL_read:Connectionwasreset,errno10054的问题Cannotperformupmoperation:UnabletoaddpackageUnabletoaddpackage[https://github.com/Whinarn/UnityMeshSimplifier.git]OpenSSLSSL_read:Connectionwasreset,errno10054在于该地址被墙了,访问不到,开梯子即可解决。或者修改Host将Github的域名地址改为IP地址。打开Windows:C:\Windows\System32\drivers\etc\ho

git reset回退版本【Git异常】You are in ‘detached HEAD‘ state

一、背景gitclone项目后,在main分支回退版本,出现报错Youarein'detachedHEAD'state.Youcanlookaround,makeexperimentalchangesandcommitthem,andyoucandiscardanycommitsyoumakeinthisstatewithoutimpactinganybranchesbyswitchingbacktoabranch.Ifyouwanttocreateanewbranchtoretaincommitsyoucreate,youmaydoso(noworlater)byusing-cwiththe

【git】error: RPC failed; curl 28 OpenSSL SSL_read: Connection was reset, errno 10054 fatal: expected

因为这几天需要用git,我不太会,所以学习一下😭当我gitclone的时候结果报错error:RPCfailed;curl28OpenSSLSSL_read:Connectionwasreset,errno10054fatal:expectedflushafterreflisting后来查资料说要在gitclone前执行gitconfig--globalhttp.sslVerify"false"原因是因为:针对所有远程服务器全局执行,使git忽略ssl证书错误(把忽略证书错误的设置限定在特定的仓库)这样就可以了然后我发现我gitpush的时候也报错了😥😥报错信息:fatal:unabletoa

unable to access ‘https://github.com/.../...git‘: Recv failure: Connection was reset

解决git下载报错:fatal:unabletoaccess‘https://github.com/…/…git’:Recvfailure:Connectionwasreset1、在git中执行gitconfig--global--unsethttp.proxy和gitconfig--global--unsethttps.proxygitconfig--global--unsethttp.proxygitconfig--global--unsethttps.proxy2、在cmd下执行ipconfig/flushdns清理DNS缓存ipconfig/flushdns3、重新执行gitclone

OpenSSL SSL_read: Connection was reset, errno 10054的解决方法

前言起因执行gitpush的时候遇到了’:OpenSSLSSL_read:Connectionwasreset,errno10054,的错误提示经过这是服务器的SSL证书没有经过第三方机构的签署,所以报错。错误原因可能是网络不稳定,连接超时造成的,如果你试了多次还是报这个错误,建议你执行下面的命令解决办法gitconfig--globalhttp.sslVerify"false"或者在git配置文件中添加如下配置[core] repositoryformatversion=0 filemode=false bare=false logallrefupdates=true symlinks=fa

git reset 版本回退或撤销上一次pull操作

在拉取分支准备合并的时候,发现分支拉错了,不想提交,这时候你应该回退一下你所拉取的分支比如我现在已经执行完gitpull了,但是想回头gitpull之前的内容gitpullupstreamproupstream是我远程分支pro是我远程分支的生产环境现在我们先看看历史提交记录gitrefloggitreflog打印的更为详细一些这里不推荐使用gitlog去查看日志,当然大佬请绕过这时候我想回退到想要的版本gitreset--hard上面黄色编号cl最后请看图

OpenSSL SSL_read: Connection was reset, errno 10054

git报错信息:OpenSSLSSL_read:Connectionwasreset,errno10054Git中push报错OpenSSLSSL_read:Connectionwasreset,errno10054...异常信息GitBash中,push时,出现错误gitpush-uoriginmainOpenSSLSSL_read:Connectionwasreset,errno10054...解决方案1.邮箱问题查看用户名,邮箱gitconfiguser.namegitconfiguser.email修改,用户名,邮箱gitconfig--globaluser.name"xxx"gitc

解决git reset --soft HEAD^撤销commit时报错:fatal: ambiguous argument ‘HEAD^‘.....

解决gitreset--softHEAD^撤销commit时报错问题:在进行完commit后,想要撤销该commit,于是使用了gitreset--softHEAD^命令,但是出现如下报错:fatal:ambiguousargument'HEAD^':unknownrevisionorpathnotintheworkingtree.Use'--'toseparatepathsfromrevisions,likethis:'git[...]--[...]'寻找过程:在尝试了国内的一些博客提供的方法后,仍然无法解决问题。于是去Stackoverflow上查了一下,找到了方法。原因猜想:在Stack

如果不小心git reset --hard了怎么恢复代码?

1前言本来是想把commit的存在缓存区的代码删除,再重新commit一遍的,用了gitreset--hardHEAD^这个命令后,没想到本地代码退回到初始版本了,修改过的全部不见了。(悔不当初!)2解决办法前提:git上传代码到仓库add、commit、push,代码必须是commit过的才有效,只有add不行。2.1步骤1gitfsck--lost-found找到commit过的代码痕迹,danglingcommit后面跟的就是代码。2.2步骤2gitshow[danglingcommit后面的字符串]查看哪一个是自己删除的代码。2.3步骤3gitrebase[danglingcommit

完美解决,fatal unable to access ‘httpsgithub.comxxxxxxxxxxx.git’ Recv failure Connection was reset

报错:fatalunabletoaccess‘httpsgithub.comxxxxxxxxxxx.git’RecvfailureConnectionwasreset说明:不能进入这个git仓库,连接被重设(重新设置)了解决一:删除代理,如果本身你没有开代理,那就不要配置代理信息先查看git配置gitconfig--global-lgitconfig--global--unset.http.proxygitconfig--global--unset.https.proxy解决二:我这里的原因是开了墙所以端口不对无法连接,需要手动配置,在这之前还是查看一下git内部的数据r然后再去配置相关的代理