电脑重装系统之后git pull报错 Permission denied (publickey)
生活随笔
收集整理的這篇文章主要介紹了
电脑重装系统之后git pull报错 Permission denied (publickey)
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
今天我重裝了系統(tǒng),之后使用git pull報(bào)如下的錯(cuò)誤消息:
git@github.xxx.corp: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
解決方法
把重裝電腦之前備份到OneDrive上的ssh相關(guān)文件,
覆蓋到windows的.ssh文件夾下,問(wèn)題解決:
2021-11-30
不要用 cmd2,直接用 Windows10 的資源管理器查看,否則看不到這個(gè) .ssh 文件夾。
要獲取更多Jerry的原創(chuàng)文章,請(qǐng)關(guān)注公眾號(hào)"汪子熙":
總結(jié)
以上是生活随笔為你收集整理的电脑重装系统之后git pull报错 Permission denied (publickey)的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 早报:华为P20等迎鸿蒙3.0升级 新款
- 下一篇: java信息管理系统总结_java实现科