其他分享
首页 > 其他分享> > sourcetree安装

sourcetree安装

作者:互联网

安装版本3.4.6

0. 安装前准备

安装包下载和安装git

1. 安装至如下图

2. 配置用户信息accounts.json,关闭应用

在如下目录下新建accounts.json文件

%LocalAppData%\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
    }]

注意:有的时候不需要这一步也可以,原因不明

3. 重启应用

注意:学习使用,非商业行为

标签:git,SourceTree,type,sourcetree,Host,安装,id
来源: https://www.cnblogs.com/vbig-2021/p/16656657.html