今天我重装了系统,之后使用git pull报如下的错误消息:

电脑重装系统之后git pull报错 Permission denied (publickey)

[email protected]: 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相关文件,

电脑重装系统之后git pull报错 Permission denied (publickey)

覆盖到windows的.ssh文件夹下,问题解决:

电脑重装系统之后git pull报错 Permission denied (publickey)
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
电脑重装系统之后git pull报错 Permission denied (publickey)

相关文章: