sourceTree 跳过注册的方法

1.下载好以后会有这么一个界面要求你注册或登陆。(无论它)将下面的一串串放进个人电脑的地址栏,打开sourcetree的文件夹
 %LocalAppData%\Atlassian\SourceTree\
2.在该目录下建立一个json文件,文件名为accounts.json内容
3.而后保存文件从新启动既可

[
{
  "$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
}
]
相关文章
相关标签/搜索