gpt4 book ai didi

Git .git/info/refs 无效 : is this a git repository?

转载 作者:行者123 更新时间:2023-12-04 19:37:45 26 4
gpt4 key购买 nike

我的 CentOS 服务器出现了一个奇怪的问题。我的存储库托管在 Bitbucket 上,直到昨天它们都运行良好。

这是问题所在。当我尝试从我的 CentOS 终端推送或 pull 时,我收到以下错误。

fatal: https://[url]/[repo-name].git/info/refs not valid: is this a git repository?

我可以使用 SourceTree 管理相同的存储库在我的 Windows 计算机上没有问题。但我也需要能够使用终端来管理它们。

我该如何克服这个问题?

我服务器上的 Git 版本是 1.8.2.1,直到昨天都可以正常工作。

最佳答案

我相信 Bitbucket 今天刚刚更改了他们的 IP 地址。您的防火墙是否有问题?

这是Bitbucket help site on the topic .

关于Git .git/info/refs 无效 : is this a git repository?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34302709/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com