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

Linux 上 git clone 报 fatal: info/refs not found: did you run git update-server-info on the server?

  •  
  •   kaxi · 2019-01-04 15:24:39 +08:00 · 1597 次点击
    这是一个创建于 1929 天前的主题,其中的信息可能已经有所发展或是发生改变。

    git clone https://git.code.tencent.com/Tencent_Open_Source/FAutoTest.git Initialized empty Git repository in /tmp/FAutoTest/.git/ fatal: https://git.code.tencent.com/Tencent_Open_Source/FAutoTest.git/info/refs not found: did you run git update-server-info on the server?

    但在 Windows 上 clone 可以正常获取到

    谷歌了一圈都没找到解决方案。

    有没有遇到这种情况的,求帮助

    5 条回复    2019-01-04 15:59:37 +08:00
    ysc3839
        1
    ysc3839  
       2019-01-04 15:28:30 +08:00 via Android
    kaxi
        2
    kaxi  
    OP
       2019-01-04 15:31:45 +08:00
    @ysc3839 git clone https://git.code.tencent.com/Tencent_Open_Source/FAutoTest.git 这个命令在 Windows 下是正常的
    但在 Linux 下就报错了
    ysc3839
        3
    ysc3839  
       2019-01-04 15:36:19 +08:00 via Android
    @kaxi 我的意思不是要你 clone,而是用工具请求一下这个 URL 看看返回什么,比如 curl。
    lovedebug
        4
    lovedebug  
       2019-01-04 15:38:21 +08:00
    你应该去提 issue
    kaxi
        5
    kaxi  
    OP
       2019-01-04 15:59:37 +08:00
    github OK gitlab 也 OK 应该是平台的问题吧
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3273 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 13:17 · PVG 21:17 · LAX 06:17 · JFK 09:17
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.