V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
kaxi
V2EX  ›  程序员

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

  •  
  •   kaxi · Jan 4, 2019 · 2383 views
    This topic created in 2677 days ago, the information mentioned may be changed or developed.

    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 replies    2019-01-04 15:59:37 +08:00
    ysc3839
        1
    ysc3839  
       Jan 4, 2019 via Android
    kaxi
        2
    kaxi  
    OP
       Jan 4, 2019
    @ysc3839 git clone https://git.code.tencent.com/Tencent_Open_Source/FAutoTest.git 这个命令在 Windows 下是正常的
    但在 Linux 下就报错了
    ysc3839
        3
    ysc3839  
       Jan 4, 2019 via Android
    @kaxi 我的意思不是要你 clone,而是用工具请求一下这个 URL 看看返回什么,比如 curl。
    lovedebug
        4
    lovedebug  
       Jan 4, 2019
    你应该去提 issue
    kaxi
        5
    kaxi  
    OP
       Jan 4, 2019
    github OK gitlab 也 OK 应该是平台的问题吧
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2788 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 06:02 · PVG 14:02 · LAX 23:02 · JFK 02:02
    ♥ Do have faith in what you're doing.