git每次git pull,git push时提示enter passphrase for key '~/.ssh/id_rsa’需要输入密码解决办法:
在项目文件夹内打开gitbash 输入以下命令
$ ssh-keygen -p [-P old_passphrase] [-N new_passphrase] [-f keyfile]
举例:$ ssh-keygen -p -P 111111 -N ‘’ -f ~/.ssh/id_rsa
这样就把’111111 ’密码改为了’',然后就可以不用输入密码使用git push、git pull等命令了。