How to use SourceTree windows without registration and login

Problem Description:

After installing SourceTree, when you use it for the first time, you need to log in to your account; but when we register or log in, we may not be able to open the web page at all, resulting in inability to enter.

Screenshot below:

Solution:

C:\Users\XXXXX\AppData\Local\Atlassian\SourceTree Create a file in the directoryaccounts.json 

Note: XXXXX represents the login system user name

accounts.json Add the following code in :

[
{
"$id": "1",
"$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity",
"IsDefault": false,
"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.Api.Account.Basic.BasicAuthCredentials, SourceTree.Api.Account.Basic",
"Username": "[email protected]",
"Email": null,
"AvatarURL": null,
"AuthenticationScheme": {
"$type": "SourceTree.Api.Account.Basic.BasicAuthAuthenticationScheme, SourceTree.Api.Account.Basic",
"Value": "Username/Password",
"Name": "Basic",
"Description": "密码",
"HeaderValuePrefix": "Basic",
"UsernameIsRequired": true
},
"EmailHash": "$2b$11$wgr1TJNVKwiK/dQBd3HKm.2vhJdNmcNbWtb1SQQGgocCxWzQCGZaW",
"DisplayName": null
}
}
]

After restarting the software, the prompt message is as follows:

According to your needs, download and install; then restart the software, you can successfully enter the interface.

Guess you like

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