Matt Elhotiby
Matt Elhotiby

Reputation: 44086

Why can't I clone any repository in Git?

I use git all the time and for some reason now every time i clone ANY repo i get this error

 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

I doesnt matter what repo....public or private..is there a setting/file on my mac that i need to change to make this work again. BTW I am on a mac/snow leopard

Upvotes: 11

Views: 6973

Answers (2)

Jiangli
Jiangli

Reputation: 19

try this:

git config --global http.sslverify "false"

Upvotes: 1

Luke Girvin
Luke Girvin

Reputation: 13452

It looks like this is a known issue:

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

You can also try using the git protocol, instead of http.

git clone git://git.eclipse.org/gitroot/e4/org.eclipse.orion.client.git

http support was much improved in 1.7+ and that may be your problem.

Upvotes: 18

Related Questions