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

后端 未结 13 1376
醉话见心
醉话见心 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:39

    When you create a repository in bitbucket.org, it gives you instructions on how to set up your local directory. Chances are, you just forgot to run the code:

    git remote add origin https://username@bitbucket.org/username/reponame.git

提交回复
热议问题