Why can't I clone any repository in Git?

后端 未结 2 1209
囚心锁ツ
囚心锁ツ 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: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.

提交回复
热议问题