執行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
致命提示:“origin”看起來不是一個git存儲庫
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:bx_reader/bx-reader-api.git
將關聯遠程倉庫為origin
PS:建議先檢查路徑是否在項目路徑里邊(我的是路徑沒留神看錯了)