用户名 密码 长期存储密码:
git config --global credential.helper store
然后git pull 输入密码,以后密码就记住了。
短期有效密码:git config credential.helper 'cache --timeout=3600' 表示1小时有效
这样就省得每次都输入用户名密码了
git config --global credential.helper store
然后git pull 输入密码,以后密码就记住了。
短期有效密码:git config credential.helper 'cache --timeout=3600' 表示1小时有效
这样就省得每次都输入用户名密码了