Git push: “fatal 'origin' does not appear to be a git repository - fatal Could not read from remote repository.”

后端 未结 9 1302
再見小時候
再見小時候 2020-11-28 18:04

I know similar questions have already been asked.

But, I believe my issue is due to a mistake I have previously made and therefore is different: let me explain.

9条回答
  •  一向
    一向 (楼主)
    2020-11-28 18:28

    It works for me.

    git remote add origin https://github.com/repo.git
    git push origin master
    

    add the repository URL to the origin in the local working directory

提交回复
热议问题