天天看点

SourceTree 提交 遇到的错误

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags --set-upstream testprivate master:master

remote: [31mIncorrect username or password ( access token )[0m

fatal: Authentication failed for 'https://gitee.com/excellentma/testprivate.git/'

Pushing to https://gitee.com/excellentma/testprivate.git

完成时带有错误,见上文。

解决方法

在 工具-选项-验证  把账号删除了在提交就能重写输入账号密码了