取消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 ‘‘
Enter new passphrase (empty for no passphrase):(直接Enter)
Enter same passphrase again:(直接Enter)
Your identification has been saved with the new passphrase.
*********************************************************************************************************
百度了很多都是这个命令
$ git config --global credential.helper store
然后,下次再输入一次 账号密码 就可以了
但是在我电脑上就是不管用o(╥﹏╥)o
相关推荐
formula 2020-11-12
huhongfei 2020-11-05
乾坤一碼農 2020-10-27
liumengyanysu 2020-10-22
E哥的aws认证攻略 2020-10-15
tianyafengxin 2020-10-08
guying 2020-10-05
好脑筋不如烂笔头 2020-09-17
nebulali 2020-09-11
佛系程序员J 2020-09-15
fenggit 2020-09-15
JustHaveTry 2020-09-11
兄dei努力赚钱吧 2020-09-06
IngeniousIT 2020-08-25
liumengyanysu 2020-08-17
guying 2020-08-16