SourceTree skips Atlassian account, no login, skips initial setup

After SourceTree is installed, you need to use the account to log in to authorize, and it is mandatory to log in.

The login process is very long, and it is not impossible to succeed without FQ. The method of skipping login is recorded below.

 

After installation, go to the SourceTree directory under the user's local folder and find the accounts.json file, if not, create a new one.

C:\Users\Administrator\AppData\Local\Atlassian\SourceTree

Enter the following to save

[
  {
    "$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
  }
]

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325065945&siteId=291194637