windows 系统电脑,再一次更新git客户端后提交报错

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

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

Please make sure you have the correct access rights
and the repository exists. 

 解决方案

  先运行 eval `ssh-agent -s` 再输入 ssh-add ~/.ssh/id_rsa 就可以了

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄