Win git切换Github账号

git Bash 执行命令:

git config --system --unset credential.helper

然后执行 git push

提示登录github账号和密码:

账号:github的用户名或者邮箱号

密码:token(不是github的登录密码),地址GitHub-右上角Settings-左侧下拉到最后developing settings-Personal access tokens-Tokens (classic) 生成token即可

猜你喜欢

转载自blog.csdn.net/FishBean/article/details/131640691