sourcetree跳過注冊的方法


本文轉載地址:https://www.cnblogs.com/lucio110/p/8192792.html

SourceTree 安裝的時候有個很大的麻煩就是要注冊,而且跳不過去,如圖:

下面我們來說說如何注冊。

首先復制下面一句話到地址欄,打開sorcetree的地址。

1 %LocalAppData%\Atlassian\SourceTree\

打開如下圖所示:

 

本來是沒有 account.json 這個文件的。這個文件 就是我們要加進去注冊用的。account.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 點擊安裝就OK了。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM