欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

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.

sourcetree pull时出错Please make sure you have the correct access rights and the repository exists
修改方式:
修改C:\Windows\System32\drivers\etc下的hosts文件:
140.82.113.3 gitHub.com199.232.69.194 github.global.ssl.fastly.net
原文件:
sourcetree pull时出错Please make sure you have the correct access rights and the repository exists
修改以后文件:
sourcetree pull时出错Please make sure you have the correct access rights and the repository exists
然后重启sourcetree,成功。
sourcetree pull时出错Please make sure you have the correct access rights and the repository exists

本文地址:https://blog.csdn.net/weixin_42163902/article/details/107344053