直接在git bash 中执行命令:git config --global credential.helper store
在输入一次账号密码就可以保存了
https://blog.csdn.net/lyly4413/article/details/80691751