问题
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