为什么我不能克隆Git中的任何存储库?

Mat*_*iby 11 git macos github

我一直使用git,出于某种原因现在每次克隆ANY repo时都会出现此错误

 git clone https://github.com/ryanb/cancan.git
 Initialized empty Git repository in /Users/tamer /Desktop/paypal_adaptive/cancan/.git/
 error: The requested URL returned error: 403 while accessing
 https://github.com/ryanb/cancan.git/info/refs

   fatal: HTTP request failed
Run Code Online (Sandbox Code Playgroud)

我并不重要什么回购....公共或私人..我的Mac上有一个设置/文件,我需要更改,以使这项工作再次.顺便说一句,我在mac/snow豹上

Luk*_*vin 18

看起来这是一个已知问题:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=341221

您也可以尝试使用git协议,而不是http.

git clone git://git.eclipse.org/gitroot/e4/org.eclipse.orion.client.git
Run Code Online (Sandbox Code Playgroud)

http支持在1.7+中得到了很大改善,这可能是你的问题.