输入命令 git config --system --unset credential.helper git config --global credential.helper store然后再push就会提示输入用户名和新密码。