https://blog.csdn.net/u011921396/article/details/78410396
在安装sourceTree的时候让添加Atlassian账户,而且还不能跳过,太恶心了,解决方法:
在你取消安装后,sourceTree仍然在你的C盘创建了目录,在你的windows个人用户文件夹(C:\Users\admin\AppData\Local\Atlassian\SourceTree)下创建accounts.json 文件,然后输入以下内容保存。
[
{
"$id": "1",
"$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity",
"Authenticate": true,
"HostInstance": {
"$id": "2",
"$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountInstance, SourceTree.Host.AtlassianAccount",
"Host": {
"$id": "3",
"$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountHost, SourceTree.Host.AtlassianAccount",
"Id": "atlassian account"
},
"BaseUrl": "https://id.atlassian.com/"
},
"Credentials": {
"$id": "4",
"$type": "SourceTree.Model.BasicAuthCredentials, SourceTree.Api.Account",
"Username": "",
"Email": null
},
"IsDefault": false
}
]