Git Fatal Error: info/refs not found

后端 未结 7 1810
春和景丽
春和景丽 2020-12-17 15:54

I receive the following error:

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


        
7条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-17 16:18

    Are you sure the git repo you're trying to access supports the HTTPS protocol?

    Instead of this: git clone https://github.com/TeaCodie/TeaCodie-Website.git

    Try this: git clone git@github.com/TeaCodie/TeaCodie-Website.git

    You may need to configure your SSH key.

    For some details, see: http://git-scm.com/book/ch4-1.html and https://help.github.com/articles/set-up-git and https://help.github.com/articles/generating-ssh-keys

提交回复
热议问题