1. 在服务器 ,输入命令

git config --global credential.helper store


2. 查看保存的密码

cat ~/.git-credentials 


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

cat ~/.gitconfig 




End 。