linux git 记住密码

git config --global credential.helper store
git credential-store store
protocol=http
host=10.24.21.1
username=xxx
password=xxx

 

 

参考:

https://unix.stackexchange.com/questions/379272/storing-username-and-password-in-git

posted @ 2020-01-10 15:05  wolbo  阅读(579)  评论(0编辑  收藏  举报