解决方法:
1.输入命令 ssh-keygen -p
然后弹出,Enter file in which the key is (/c/Users/xxx/.ssh/id_rsa):
直接按回车
2.再出现Enter old passphrase:
->然后输入旧密码
3.Enter new passphrase (empty for no passphrase):
后面的都直接按回车
Enter same passphrase again:
继续按回车
出现Your identification has been saved with the new passphrase.
说明已经设置成功
->再git pull 就可以啦
关于 git pull 出现 “Enter passphrase for key ‘/Users/xxx/.ssh/id_rsa‘ ”的问题
最新推荐文章于 2024-03-25 13:42:47 发布