sourcetree跳过bitbucket进行安装

首先安装sourcetree  点击这里 https://www.sourcetreeapp.com/ 下载

网盘:

链接:https://pan.baidu.com/s/1VeWuAqWNMPQl5fdxvm4pbA 
提取码:1rsx 

下载完成后,点击exe,弹出bitbucket后,先关闭安装。

然后找到目录 C:\Users\ASUS\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
  }
]

接下来,打开目录C:\Users\ASUS\AppData\Local\Atlassian\SourceTree.exe_Url_mx01drcbkdd1e4r2oq35ql5tibvaixl5\3.3.8.3848

找到user.config,加上以下内容。

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

然后重新运行安装包即可。

发布了133 篇原创文章 · 获赞 175 · 访问量 15万+

猜你喜欢

转载自blog.csdn.net/c_shell_python/article/details/104724853