remote: HTTP Basic: Access denied.
The provided password or token is incorrect or your account has 2FA enabled and
you must use a personal access token instead of a password.
See https://gitlab.xxxxxx#error-on-git-fetch-http-basic-access-denied
拉取代码时报错,因为邮箱密码更改后,导致无法拉取代码报错
解决方法
- 找到安装目录,一般存储目录在:C:\Users\用户名\AppData\Local\Atlassian\SourceTree
- 删除passwd文件
- 重新启动SourceTree,再次操作拉取代码,会有显示账号密码弹框,输入正确账号密码就可以拉取成功了