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

2019-01-04 15:24:39 +08:00
 kaxi

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 可以正常获取到

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

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

1610 次点击
所在节点    程序员
5 条回复
ysc3839
2019-01-04 15:28:30 +08:00
kaxi
2019-01-04 15:31:45 +08:00
@ysc3839 git clone https://git.code.tencent.com/Tencent_Open_Source/FAutoTest.git 这个命令在 Windows 下是正常的
但在 Linux 下就报错了
ysc3839
2019-01-04 15:36:19 +08:00
@kaxi 我的意思不是要你 clone,而是用工具请求一下这个 URL 看看返回什么,比如 curl。
lovedebug
2019-01-04 15:38:21 +08:00
你应该去提 issue
kaxi
2019-01-04 15:59:37 +08:00
github OK gitlab 也 OK 应该是平台的问题吧

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/523891

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX