git 保存用户名与密码 图文教程

来源: 老季博客
日期: 2016-9-29
作者: 腾讯云/服务器VPS推荐评测/Vultr
阅读数: 51
git config --global credential.helper cache

… which tells git to keep your password cached in memory for (by default) 15 minutes. You can?set a longer timeout?with:

记住密码一个小时:

git config --global credential.helper "cache --timeout=3600"

Windows客户端保存密码:

git config --global credential.helper winstore

或者手动修改 .gitconfig文件:

[credential]
    helper = winstore
git config --global credential.helper store
链接到文章: https://jiloc.com/42876.html

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注