關於git Permission denied (publickey). fatal: Could not read from remote repository. 的處理

首先查看本地的.git/config設置的倉庫url地址和github使用的鏈接地址是否一致,如use https,則url需要用https的倉庫地址       cat .git/config查看配置中的URL是否和倉庫地址相同 1、檢查電腦中是否有id_rsa和id_rsa.pub文件(一般在 /c/Users/用戶名/.ssh 或者 ~/.ssh目錄下),有則備份刪除 2、以下步驟爲重新生成
相關文章
相關標籤/搜索