Git .git / info / refs无效:这是一个git仓库吗? [英] Git .git/info/refs not valid: is this a git repository?

查看:3357
本文介绍了Git .git / info / refs无效:这是一个git仓库吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在CentOS服务器中遇到了一个奇怪的问题。我的存储库托管在Bitbucket中,直到昨天才正常工作。



这是问题所在。

 致命:https:// [url] /[repo-name].git/info/refs无效:这是一个git存储库吗? 

我可以在Windows计算机中使用SourceTree管理相同的存储库,而不会出现问题。但我需要能够使用终端来管理它们。



请阐明这个问题。



我的服务器中的Git版本是1.8.2.1,并且在昨天之前它一直在运行。

解决方案

我相信BitBucket今天刚刚改变了他们的IP地址。你可能在防火墙方面有问题吗?



以下是 BitBucket帮助该主题的网站

I'm getting a strange problem in my CentOS server. My repositories are hosted in Bitbucket and they were working fine until yesterday.

Here is the problem. I get the following error when I try to push or pull from my centos terminal.

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

I can manage the same repositories using the SourceTree in my windows computer without a problem. But I need to be able to manage them using the terminal as well.

Please shed some light to get over this problem.

Git version in my server is 1.8.2.1 and it was working file until yesterday.

解决方案

I believe BitBucket just changed their IP address today. Are you perhaps having issues with your firewalls?

Here's the BitBucket help site on the topic.

这篇关于Git .git / info / refs无效:这是一个git仓库吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆