执行git命令时出现fatal: 'origin' does not appear to be a git repository错误

Posted ding-xu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了执行git命令时出现fatal: 'origin' does not appear to be a git repository错误相关的知识,希望对你有一定的参考价值。

在执行git pull origin master时出现:
  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]:bx_reader/bx-reader-api.git
 
将关联远程仓库为origin

以上是关于执行git命令时出现fatal: 'origin' does not appear to be a git repository错误的主要内容,如果未能解决你的问题,请参考以下文章