Sourcetree 身份验证不成功 推送失败

1. 如下可见 (问题)

不正确的用户名或密码(访问令牌) 身份验证失败

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin tree:tree
remote: [31mliu-jiao951128: Incorrect username or password (access token)[0m
fatal: Authentication failed for 'https://gitee.com/liu-jiao-951128/hmmmpc.git/'
Pushing to https://gitee.com/liu-jiao-951128/hmmmpc.git

2.解决方案

1.步骤

① 工具---选项② 点到验证----将当前使用的账户删除

③ 再次点击推送确定

④ 将你需要推送的远程账号和密码填写好(必须正确,不然会有同样的错误)

⑤ 再次推送即可,可在控制台看到记录,有就表示推送成功啦

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐