在使用git pull /git push 命令时每次都提示输入密码
Enter passphrase for key 'xxxx':
方法一
使用以下命令将密码保存到硬盘中
git config --global credential.helper store
如果方法一不好用使用方法二
方法二
输入如下命令:ssh
$ ssh-keygen -p [-P old_passphrase] [-N new_passphrase] [-f keyfile]
举个例子:code
$ ssh-keygen -p -P 123456 -N '' -f rsa_address
将其中123456 替换成你自己的密码,将 rsa_address 替换成你每次命令中提示的部分xxxx