Github克隆:403访问info / refs时禁止访问

时间:2015-07-29 22:39:10

标签: git github http-status-code-403

我正在将私人仓库克隆到AWS框中,以便为生产做好准备。

git clone https://github.com/org_name/project_name.git

它返回给我这个错误:

Initialized empty Git repository in /home/pgupta/project-annie/.git/
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/org_name/project_name.git.git/info/refs

fatal: HTTP request failed

我不确定这里出了什么问题。

2 个答案:

答案 0 :(得分:0)

我通过使用SSH进行克隆来实现它。以下是步骤:https://help.github.com/articles/which-remote-url-should-i-use/

equations = [None]*(len(predictions)-1)

或者,您也可以在此处找到问题的解决方案:https://stackoverflow.com/a/12538716/3413239

答案 1 :(得分:-3)

我认为这只是因为你的网址末尾有一个额外的“.git”。

相关问题