linux 配置保存git 的账户名密码

在linux 下,默认每次操作远程git 时都需要输入用户名和密码,通过下面的配置实现记住密码

git config --global credential.helper store
git credential-store store
protocol=http
host=10.24.12.2
username=xxx
password=xxx
posted @ 2021-01-04 15:44  ℡angel  阅读(5986)  评论(0编辑  收藏  举报