sourceTree离线环境部署

目录

    • 1、下载sourceTree安装包,打开之后弹出注册界面(需要去国外网站注册)
    • 2、使用技术手段跳过注册步骤
    • 3、打开安装包进行安装

注:建议提前安装好git

1、下载sourceTree安装包,打开之后弹出注册界面(需要去国外网站注册)

sourceTree离线环境部署_第1张图片

2、使用技术手段跳过注册步骤

打开 “我的电脑“ 访问这个目录 %LocalAppData%\Atlassian
sourceTree离线环境部署_第2张图片

进入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
  }
]

返回%LocalAppData%\Atlassian目录,并进入SourceTree.exe_Url_xxx/xxx/目录下user.config文件新增以下代码


    True


    20160201

3、打开安装包进行安装

选择不想使用Mercurial即可

你可能感兴趣的:(git)