.gitconfig 文件中添加 [credential] helper = store 或者在git bash 中执行 git config --global credential.helper store