今天在 gitee 上 克隆时碰到以下错误:
Remote: [31mxxx: Incorrect username or password (access token)[0m
克隆远程存储库时遇到错误: Git failed with a fatal error.
Authentication failed for 'https://gitee.com/
在网上搜了下,基本都是在 git 清除用户名及密码,但不知道为什么我的没用
git config --system --unset credential.helper
or
git config --global user.name "xxx"
git config --global user.email "xxx@xxx.com"
最后没办法了,(物理)武力解决吧。
1.打开 “控制面板”
2.选择 “Change account type” -> “Advanced” -> “Manage Passwords”
3. 点击 Windows Credentials
接下来 edit 或者 remove 随你们