git 上传文件到仓库上提示:origin does not to be a git repository

 错误:

  

     

$ 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 [email protected]:yourusername/test.git

 
   然后再输入:git push -u origin master 就可以提交了
 
   转载: https://blog.csdn.net/dream_follower/article/details/53907217

你可能感兴趣的:(项目管理工具之Git)