Git .git/info/refs not valid: is this a git repository?
Git .git/info/refs not valid: is this a git repository?
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 Answer
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.
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Thank you Daphoa, You are right. I tried it again after seeing your reply. It works fine now. I must have got the error during the IP migration period.
– Johna
Dec 16 '15 at 4:33