git避免多次输入账号密码

在终端下执行

git config --global credential.helper store
//长期保存面
  • 1
  • 2

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

[credential]
    helper = store

猜你喜欢

转载自blog.csdn.net/wang0112233/article/details/80744898