sourcetree 的 git 密码存在 mac 的 钥匙串里面, 需要在钥匙串里删除掉对应信息,再次打开就会让你重新输入密码, 问题就解决了。

参看: https://stackoverflow.com/questions/20953940/authentication-failed-to-bitbucket