sourcetree跳过注册的方法

找到 C:Users\Administrator\AppData\Local\Atlassian\SourceTree\目录,把accounts.json文件复制进去

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
}]

你可能感兴趣的:(sourcetree跳过注册的方法)