V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
xiaoming1992
V2EX  ›  GitHub

git pull / push 失败

  •  
  •   xiaoming1992 · 2021-11-06 14:02:48 +08:00 · 986 次点击
    这是一个创建于 895 天前的主题,其中的信息可能已经有所发展或是发生改变。
    • 自己的 public repo
    • 时间是今天 2021/11/06 13:59
    • 地址是正确的
    • github 添加了我的 ssh 公钥
    • pull 和 push 都失败

    git 往 ssh push 时报错:

    ssh: connect to host github.com port 22: Connection timed out
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
    

    git 往 https push 时报错:

    fatal: unable to access 'https://github.com/XXX/XXX.git/': Failed to connect 
    to github.com port 443: Timed out
    
    第 1 条附言  ·  2021-11-06 22:30:51 +08:00
    大哥们,我不是第一次用 git 啊,没有飞机我说个蛋。。。已经开了全局代理,网页都是正常访问,之前 git 也是正常访问,最近一段时间没太 push ,今天突然不能 push 才问的。。。
    7 条回复    2021-11-20 01:22:29 +08:00
    GzhiYi
        1
    GzhiYi  
       2021-11-06 15:19:59 +08:00
    你需要飞机
    christin
        2
    christin  
       2021-11-06 16:20:03 +08:00 via iPhone
    网络不好 连不上 GitHub
    soraginko
        3
    soraginko  
       2021-11-06 18:55:23 +08:00 via iPhone
    破事水
    xiaoming1992
        4
    xiaoming1992  
    OP
       2021-11-06 22:31:38 +08:00 via Android
    @christin
    @GzhiYi
    浏览器访问正常
    whileFalse
        5
    whileFalse  
       2021-11-07 07:19:13 +08:00 via iPhone
    是不是之前用 http 地址,现在配置成 ssh 地址了?
    heroin80s
        6
    heroin80s  
       2021-11-16 11:50:06 +08:00
    access token ?
    xiaoming1992
        7
    xiaoming1992  
    OP
       2021-11-20 01:22:29 +08:00 via Android
    @heroin80s 加过了,那天很奇怪,过后就好了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2554 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 01:20 · PVG 09:20 · LAX 18:20 · JFK 21:20
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.