執行git命令時出現fatal: 'origin' does not appear to be a git repository錯誤

執行git pull origin branchName命令時出現:
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:bx_reader/bx-reader-api.git

將關聯遠程倉庫爲origin

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章