Git Fatal Error: info/refs not found

后端 未结 7 1815
春和景丽
春和景丽 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:06

    I confirm you need to create your repo on GitHub first, before being able to push to said (remote) repo.

    Once created, you can add it as a remote named 'origin' to your local repo, and 'git push origin master' (for the first push).

提交回复
热议问题