linux
永久保存
git config --global credential.helper cache
指定保存时间
git config --global credential.helper "cache --timeout=3600"
windows
git config --global credential.helper winstore
或者修改配置文件加入下面的代码
[credential]
helper = winstore
git config --global credential.helper cache
git config --global credential.helper "cache --timeout=3600"
git config --global credential.helper winstore
或者修改配置文件加入下面的代码
[credential]
helper = winstore