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

后端 未结 9 1298
再見小時候
再見小時候 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:12

    As Matt Clark stated above

    However, origin might not be set, so skip the deleting step and simply attempting to add can clear this up.

    git remote add origin <"clone">
    

    Where "clone" is simply going into your GitHub repo and copying the "HTTPS clone URL" and pasting into GitBash

提交回复
热议问题