Why can't I clone any repository in Git?

后端 未结 2 1210
囚心锁ツ
囚心锁ツ 2021-02-14 04:29

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         


        
相关标签:
2条回答
  • 2021-02-14 04:55

    try this:

    git config --global http.sslverify "false"
    
    0 讨论(0)
  • 2021-02-14 04:59

    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.

    0 讨论(0)
提交回复
热议问题