SourceTree跳过注册安装使用

SourceTree跳过注册安装使用

下载链接 https://www.sourcetreeapp.com/

这个时候会要求注册账号,这个时候关掉就可以了

我们进入%LocalAppData%\Atlassian\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
  }
]
  
  
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24

然后打开安装好的Sourcetree软件

会重新进入到界面

我们直接下一步,会提示我们注册完成了.

继续下一步,会让你选择用什么git

如果使用git客户端,选择我不想使用Mercurial即可.

这样就直接安装完成了.

猜你喜欢

转载自blog.csdn.net/zyx_ly/article/details/87832437