在Bash下输入命令:
git config --global credential.helper store
再次执行 git pull 或 git push命令,输入正确的用户名和密码即可。
参考:https://blog.csdn.net/qq_43437571/article/details/92797954?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task