sourcetree免註冊直接進入

  首先在個人電腦裏輸入json

%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從新點開軟件,會發現直接進入主界面!spa

相關文章
相關標籤/搜索