ERROR: Repository not found. fatal: 無法讀取遠程倉庫。


解決辦法如下:
1、先輸入$ git remote rm origin(刪除關聯的origin的遠程庫)
2、再輸入$ git remote add origin git@github.com:(github名)/(git項目名).git 就不會報錯了!
3、如果輸入$ git remote rm origin 還是報錯的話,error: Could not remove config section ‘remote.origin’. 我們需要修改gitconfig文件的內容
4、找到你的github的安裝路徑,找到一個名為gitconfig的文件,打開它把里面的[remote “origin”]那一行刪掉就好了!

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM