执行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

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