2023-01-17 git 提交和拉取代码都需要输入密码的解决

Enter passphrase for key '/c/Users/用户名/.ssh/id_rsa':

1.输入命令

ssh-keygen -p

2.确定修改的私钥,直接回车

Enter file in which the key is (C:\Users\用户名/.ssh/id_rsa):

3.输入旧密码

Enter old passphrase:

4.输入新密码,不需要密码就直接回车

Enter new passphrase (empty for no passphrase)

5.再次输入密码

Enter same passphrase again:

6.完成

Your identification has been saved with the new passphrase.

你可能感兴趣的:(2023-01-17 git 提交和拉取代码都需要输入密码的解决)