After SourceTree is installed, you need to use the account login authorization to use it. In the past, you can not log in, but now it is mandatory to log in. Although the license is free, but I don’t know why, login often failed, even over the wall, here is a share to skip this initialization step.
SourceTree Login Exempt Method of skipping initial Settings
-
First, run SourceTree once after installing it, and then log out after the initial login page is displayed.
-
Open my computer and type the following address directly into the address bar at the top:
%LocalAppData%\Atlassian\SourceTree\
Copy the code
As shown in figure:
-
Create a new file in this directory called accounts.json.
-
Open the file as a text document, copy the following contents into it and 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}]Copy the code
- Open again
SourceTree
You can skip login to the software page.
Note: Windows file suffixes are hidden by default. You need to display the file suffixes first, then create a new text document and change the file’s full name to accounts.json.
Method for displaying file name extensions:
- Open the
My computer
, click on theTo view
From the menuoptions
。
As shown in figure:
- The pop-up
Folder options
That will beHide extensions of known file types
Deselect the option and clickdetermine
Can.
As shown in figure:
The Mac version of SourceTree doesn’t know how to skip it yet, so just jump over the wall and sign up for it.
In the future, you will be grateful for your hard work now, and wish you and your readers a better way of development.
My portal: blog, Book, Twitter, GitHub.