美文网首页测试员的那点事Jenkins & Linux百人计划
git设置永久记住用户名和密码,避免每次都得输入密码

git设置永久记住用户名和密码,避免每次都得输入密码

作者: IDO老徐 | 来源:发表于2021-07-19 21:09 被阅读0次

1. 在服务器 ,输入命令

git config --global credential.helper store

2. 查看保存的密码

cat ~/.git-credentials

3. 查看当前服务器的git密码配置方式

cat ~/.gitconfig

End 。

首发 http://istester.com/git/283.html

作者 / IDO老徐

转载注明出处 ,有任何问题,评论区交流 。

相关文章

网友评论

    本文标题:git设置永久记住用户名和密码,避免每次都得输入密码

    本文链接:https://www.haomeiwen.com/subject/sezhmltx.html