git 上传文件到仓库上提示:origin does not to be a git repository
程序员文章站
2022-06-17 13:26:10
...
错误:
$ git push origin basics-email-dev fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
解决方案:
重新输入一次:git remote add origin git@github.com:yourusername/test.git
然后再输入:git push -u origin master 就可以提交了