SourceTree下载安装与使用

SourceTree下载安装与使用

  • 如何下载?
  • 如何安装?
  • 如何使用?

如何下载?

sourcetree 各版本下载: https://www.sourcetreeapp.com/download-archives
推荐:不要下载太高的版本,我下载的是2.6.10.0版,比较稳定。
SourceTree下载安装与使用_第1张图片

如何安装?

下载后应该是一个exe文件。
在这里插入图片描述
1、双击运行exe文件
SourceTree下载安装与使用_第2张图片
2、看到如下界面后,关闭。
3、新建json文件,命名:accounts.json,输入如下内容,将此json文件放至sourcetree目录(地址栏输入:%LocalAppData%\Atlassian\SourceTree\ 即可找到sourcetree目录)下:

[
  {
    "$id": "1",
    "$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity",
    "IsDefault": false,
    "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.Api.Account.Basic.BasicAuthCredentials, SourceTree.Api.Account.Basic",
      "Username": "",
      "Email": null,
      "AvatarURL": null,
      "AuthenticationScheme": {
        "$type": "SourceTree.Api.Account.Basic.BasicAuthAuthenticationScheme, SourceTree.Api.Account.Basic",
        "Value": "用户名/密码",
        "Name": "Basic",
        "Description": "密码",
        "HeaderValuePrefix": "Basic",
        "UsernameIsRequired": true
      },
      "Id": "",
      "EmailHash": null,
      "DisplayName": null
    }
  },
  {
    "$ref": "1"
  }
]

4、之后重新打开sourcetree,直接进入了下一步,无需注册。

如何使用?

谢谢观看,我是天津bigbig猿!!!

你可能感兴趣的:(工具)