测试员的那点事Jenkins & Linux百人计划

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

2021-07-19  本文已影响0人  IDO老徐

1. 在服务器 ,输入命令

git config --global credential.helper store

2. 查看保存的密码

cat ~/.git-credentials

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

cat ~/.gitconfig

End 。

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

作者 / IDO老徐

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

上一篇 下一篇

猜你喜欢

热点阅读