git config --global credential.helper store
长期储存密码,因为git默认是不储存密码的,不执行这条命令的话每次更新代码,或者提交代码都需要输入密码
[credential] helper = store