sourcetree pull时出错Please make sure you have the correct access rights and the repository exists
程序员文章站
2022-07-10 16:18:30
github的pull时出错:错误信息:git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin feature/functions_offshore_UT/8515:feature/functions_offshore_UT/8515Pushing to git@github.com:ISID/7BK-DBS-Refactor.gitFATAL ERROR:...
github的pull时出错:
错误信息:
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin feature/functions_offshore_UT/8515:feature/functions_offshore_UT/8515
Pushing to git@github.com:ISID/7BK-DBS-Refactor.git
FATAL ERROR: Network error: Connection reset by peer
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
修改方式:
修改C:\Windows\System32\drivers\etc
下的hosts文件:140.82.113.3 gitHub.com
⇨199.232.69.194 github.global.ssl.fastly.net
原文件:
修改以后文件:
然后重启sourcetree,成功。
本文地址:https://blog.csdn.net/weixin_42163902/article/details/107344053
上一篇: HttpClient实例
下一篇: java数字签名三种方式