Why can't I clone any repository in Git?
I use git all the time and for some reason now ev开发者_Python百科ery 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
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.
try this:
git config --global http.sslverify "false"
精彩评论