SourceTree跳過Atlassian帳號,免登錄,跳過初始設置

  • 首先,安裝完 SourceTree 之後先運行一次,彈出初始化登陸頁面後退出。java

  • 打開 個人電腦,在最上方的地址欄直接輸入如下地址:json

    %LocalAppData%\Atlassian\SourceTree\在這個目錄下新建一個名爲  的文件。accounts.json
  • 在這個目錄下新建一個名爲 accounts.json 的文件。
  • 使用 文本文檔 打開這個文件,將如下內容複製到其中後保存。code

  

[
  {
    "$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 就能夠直接跳過登陸進入軟件頁面了blog

相關文章
相關標籤/搜索