欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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 就可以提交了
 
相关标签: git