git使用每次输入密码问题

原因:在初始化配置Git用户信息时,设置了用户密码

解决方式:重置用户密码,并设置为空

$ ssh-keygen -p

Enter file in which the key is (/c/Users/xxx/.ssh/id_rsa):  (直接Enter)
Enter old passphrase:(输入旧密码)
Key has comment ‘xxx@DESKTOP-CNLBIPC‘
Enter new passphrase (empty for no passphrase):(直接Enter)
Enter same passphrase again:(直接Enter)
Your identification has been saved with the new passphrase.

*********************************************************************************************************

posted @ 2021-06-03 15:25  三页菌  阅读(90)  评论(0编辑  收藏  举报