美文网首页
Git fatal: unable to access '':

Git fatal: unable to access '':

作者: 114105lijia | 来源:发表于2021-03-29 09:51 被阅读0次

    1、首先ping一下看看


    image.png

    一部分超时,但是在网页上又能打开github。
    2、打开known_hosts文件夹【~/.ssh/known_hosts】

    搜索GitHub,如下 image.png

    3、将这一行中的IP改为第一步ping github的IP【我的是 52.74.223.119】

    4、保存,再次pull就OK了。

    参考https://lequ7.com/guan-yu-git-ru-he-jie-jue-gitpushpull-cao-zuo-shi-chu-xian-de-operationtimedout.html

    相关文章

      网友评论

          本文标题:Git fatal: unable to access '':

          本文链接:https://www.haomeiwen.com/subject/hwivhltx.html