“did you run git update-server-info” error on a Github repository

后端 未结 20 1565
别跟我提以往
别跟我提以往 2020-12-04 10:42

I\'m using the github Gui from their website to manage my repos, and I\'m getting the following error:

fatal: https://github.com/TeaCodie/TeaCodie-Website.gi         


        
20条回答
  •  执笔经年
    2020-12-04 10:58

    probably you were trying to clone like this:

    git clone https://github.com/TeaCodie/TeaCodie-Website.git

    Then you got this error:

    fatal: https://github.com/TeaCodie/TeaCodie-Website.git/info/refs not found: did you run git update-server-info on the server?

    Here is what worked for me:

    git clone https://github.com/TeaCodie/TeaCodie-Website.git/.git

    because the directory "info/refs" is in the .git directory.

提交回复
热议问题