进入项目根目录,打开命令行执行 git config --unset credential.helper git config credential.helper store 然后再命令行模式下pull下代码,重新输入账号密码就可正常