Windows10 下安裝SourceTree 跳過注冊 Bitbucket


前提:安裝Git

  1. 下載Windows系統可執行文件SourceTreeSetup-3.1.3.exe
  2. 雙擊安裝,會出現如下界面:
  3.  

    關閉這個界面

  4. C:\Users\當前用戶文件夾\AppData\Local\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
      }
    ]
  5. 編輯文件C:\Users\當前用戶文件夾\AppData\Local\Atlassian\SourceTree.exe_Url_2pp5ph5o52ezn1jhauso0c3bpdeplqgk\3.1.3.3158\user.config,configuration userSettings SourceTree.Properties.Settings 之下添加以下 6 行內容:
     <setting name="AgreedToEULA" serializeAs="String">
            <value>True</value>
    </setting>
    <setting name="AgreedToEULAVersion" serializeAs="String">
            <value>20160201</value>
    </setting>
  6. 重新點擊可執行文件SourceTreeSetup-3.1.3.exe,選擇最后一項:我不需要mercurial

Enjoy it !


免責聲明!

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



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