将下面2个文件对应的账号修改就可以了,passwd文件清空
C:\Users\xx\AppData\Local\Atlassian\SourceTree\passwd
C:\Users\xx\AppData\Local\Atlassian\SourceTree\userhosts
---------------------------------------
改了git账号,找了老半天,按上面解决了
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks commit -q -F C:\Users\xx\AppData\Local\Temp\aceqlxqi.2sk
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --set-upstream origin dev:dev
fatal: Authentication failed for 'http://git.xx.cn/xxx/xxxx.git/'
Pushing to http://git.xx.cn/xxx/xxxx.git/
完成时带有错误,见上文。