微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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. 重启应用

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

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐