Use sourcetree to log in without altantic username and password

http://www.cnblogs.com/xiofee/p/sourcetree_pass_initialization_setup.html

quote



After installation, go to the SourceTree directory under the user's local folder, if not, create a new

%LocalAppData%\Atlassian\SourceTree\
New accounts.json file

%LocalAppData%\Atlassian\SourceTree\accounts.json
Enter the following content and save it,



such as mine The user is dell
C:\Users\dell\AppData\Local\Atlassian\SourceTree

then the content of accounts.json is


quote


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





Re-login to sourcetree

Guess you like

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