1. 程式人生 > >SourceTree 免登錄跳過初始設置

SourceTree 免登錄跳過初始設置

host col red ase atlas 輸入 ide html 新建

http://www.cnblogs.com/xiofee/p/sourcetree_pass_initialization_setup.html

安裝之後,轉到用戶本地文件夾下的 SourceTree 目錄,沒有則新建

%LocalAppData%\Atlassian\SourceTree\

新建 accounts.json 文件

%LocalAppData%\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
  }
]

SourceTree 免登錄跳過初始設置