Git .git/info/refs not valid: is this a git repository?

独自空忆成欢 提交于 2019-12-04 06:44:16

问题


I'm getting a strange problem in my CentOS server. My repositories are hosted on 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 SourceTree on my Windows computer without a problem. But I need to be able to manage them using the terminal as well.

How do I get over this problem?

The Git version on my server is 1.8.2.1, and it was working fine until yesterday.


回答1:


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.



来源:https://stackoverflow.com/questions/34302709/git-git-info-refs-not-valid-is-this-a-git-repository

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!