git config --global credential.helper wincred
这样的话,下一次提交推送到远程仓库还需要输入一次用户名及密码,但是这一次过后,就会保存起来,以后再推送的话,就不需要了。