若可以翻墙,就在登陆后继续,若不能登录,则绕过这个登录步骤,在C:\Users\Administrator\AppData\Local\Atlassian\SourceTree(或者直接复制:
%LocalAppData%\Atlassian\SourceTree\
到“我的电脑”的路径,可直接跳转)这个目录下新建account.json文件:
然后在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 } ]