git pull/push项目的时候每次都要输入开机密码

136 阅读1分钟

首先执行 ssh-add -L,若跟我一样的话控制台应该会显示如下:

ssh-add -L
The agent has no identities

再执行一次ssh-add 输入密码就好了