Git push error: “origin does not appear to be a git repository”

后端 未结 13 1369
醉话见心
醉话见心 2020-11-29 00:28

I am following the instructions given here to create a Git repository. All went well until the last line:

$ git push -u origin master  
13条回答
  •  离开以前
    2020-11-29 00:45

    Setting remote repository URL worked for me:

    git remote set-url origin https://github.com/path-to-repo/MyRepo.git

提交回复
热议问题