美文网首页
Linux 服务器上记住GIT用户名密码

Linux 服务器上记住GIT用户名密码

作者: 建博姓李 | 来源:发表于2017-08-24 11:00 被阅读0次

测试服务器上,有时候需要频繁的更新GIT服务器器上的代码,每次都输入用户名和密码会比较麻烦。

Snip20170824_40.png

在服务器上直接执行命令

// GIT全局配置
git config --global credential.helper store

执行下面命令,检查是否生效

cat ~/.gitconfig

得到结果

[credential]
    helper = store

相关文章

网友评论

      本文标题:Linux 服务器上记住GIT用户名密码

      本文链接:https://www.haomeiwen.com/subject/jaisdxtx.html