git@gitlab.xxx.com:Permission denied (publickey). fatal: Could not read from remote repository.

重装了系统,私钥备份到了d盘。因此 cd ~/.ssh 目录下没有id_rsa 文件,复制d盘的过去。而后git pull,成功.或者可使用ssh -T git@gitlab.xx.com 测试 git
相关文章
相关标签/搜索