SourceTree免登錄使用


官方下載地址:https://www.sourcetreeapp.com/download-archives

  • 舊版
    舊版免登錄只需要執行第二步即可,如下界面為舊版。

5b0c56c5f5196582d5262b21ffbf94b829b

  • 新版
    博主用的是SourceTreeSetup-3.3.8,如下界面為新版,第二、三步操作都需執行。

c35c22559ae6a305fa51fd14e367235afe2

二、添加accounts.json

進入C:/Users/Administrator/AppData/Local/Atlassian/SourceTree目錄,地址欄輸入以下地址即可進入。

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

三、修改user.config

進入C:/Users/Administrator/AppData/Local/Atlassian/SourceTree.exe_Url_ehxo33lcbvsvb51tb25j1akl1v2frli5/3.3.8.3848目錄,不同版本的目錄結構可能不同,可輸入以下地址自行進入。

%LocalAppData%/Atlassian

修改user.config文件,在標簽<SourceTree.Properties.Settings>子級添加以下內容:

<setting name="AgreedToEULA" serializeAs="String"> <value>True</value> </setting> <setting name="AgreedToEULAVersion" serializeAs="String"> <value>20160201</value> </setting>


免責聲明!

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



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