sourcetree免注册直接进入
首先在我的电脑里输入
%LocalAppData%\Atlassian\SourceTree\
然后添加JS文本文件 accounts.json
文本内容如下
1 [ 2 { 3 "$id": "1", 4 "$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity", 5 "Authenticate": true, 6 "HostInstance": { 7 "$id": "2", 8 "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountInstance, SourceTree.Host.AtlassianAccount", 9 "Host": { 10 "$id": "3", 11 "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountHost, SourceTree.Host.AtlassianAccount", 12 "Id": "atlassian account" 13 }, 14 "BaseUrl": "https://id.atlassian.com/" 15 }, 16 "Credentials": { 17 "$id": "4", 18 "$type": "SourceTree.Model.BasicAuthCredentials, SourceTree.Api.Account", 19 "Username": "", 20 "Email": null 21 }, 22 "IsDefault": false 23 } 24 ]
然后关掉sourcetree重新点开软件,会发现直接进入主界面!