執行git命令時出現Please make sure you have the correct access rights and the repository exists

請叫我彥祖發表於2020-11-24

在執行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 倉庫https的地址

此命令將關聯遠端倉庫為origin

 

相關文章