git config --system --unset credential.helper //强制密码交互
git config --global credential.helper store //密码永久保存
git config –global credential.helper cache //密码临时保存
git config credential.helper 'cache –timeout=3600' //密码指定保存时间
转载于:https://my.oschina.net/u/200350/blog/3094756