git避免多次输入账号密码

在终端下执/行:

git config --global credential.helper store

可以看到~/.gitconfig文件,会多了一项:

原文地址:https://www.cnblogs.com/yuanqiangfei/p/14641062.html