安装SourceTree教程

安装SourceTree教程跳过注册流程

  1. https://www.sourcetreeapp.com/ 下载地址
  2. 在电脑未的情况下,则需配置账号密码。跳过登录账号操作!
  3. 期间还遇到过让安装 Microsoft .NET Framework,具体原因是电脑安装的版本过低,下载安装就是了

2.解决方案

创建一个accounts.json文件,将其放到 C:\Users\Administrator\AppData\Local\Atlassian\SourceTree目录当中

[
  {
    "$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\Administrator\AppData\Local\Atlassian\SourceTree.exe_Url_ul4qrk3hz4zqb14vcaiypmrdv255kkqk\3.3.8.3848 打开 user.config 文件添加以下代码

			记住放在同级目录上
            
                True
            
            
                20160201
            
            

你可能感兴趣的:(SourceTree)