第一次安装后,找到C:/Users/jiang(你的系统帐号用户名)/AppData/Local/Atlassian/SourceTree目录
新建accounts.json文件
内容: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 } ]
保存后再次安装,
会弹出Mercurial询问窗口,使用第四个选项"我不想使用Mercurial"。就能够跳过Atlassian帐号登陆直接使用软件啦code