1. 程式人生 > >windows安裝 SourceTree安裝時跳過登入

windows安裝 SourceTree安裝時跳過登入

安裝 SourceTree 時,需要使用atlassian授權,即使翻牆這個過程也會出現反應慢,收不到郵件或簡訊的問題,現提供跳過 atlassian賬號 授權方法。

安裝之後,轉到使用者本地資料夾下的 SourceTree 目錄,沒有則新建:

win+E 輸入以下路徑

%LocalAppData%\Atlassian\SourceTree\

輸入以下內容儲存即可

[
  {
    "$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
  }
]

再次啟動你會發現 跳過註冊了