SourceTree 版本跳過bitbucket注冊方法


1、安裝sourcetree時 需要選擇 bitbucket賬號,這個令人頭疼

     當然肯定有辦法來跳過這一步

2、關閉當前安裝界面

     進入   C:\Users\Administrator\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
  }
]

 

3、然后返回到父目錄下,進入到 SourceTree.exe_Url_eokpufuqmdj0jrg3pcijipnt33btnzjl目錄,然后進入到 3.3.6.3829

    這兩個目錄 不同的sourceTree版本 后面的可能略微有點不同,找到 user.config  文件

    在 <SourceTree.Properties.Settings>  這一行下面新加以下內容

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

  保存

4、再次點擊SourceTree.exe 安裝文件 便跳過了第一步


免責聲明!

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



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