The latest version Sourcetree wall-free landing

Copyright: Merry due share and eternity, knowledge sharing and immortal, I share my happiness ... https://blog.csdn.net/walter247443819/article/details/89356554

Since sourcetree updated version of the landing-free method also need to add a step
Sourcetree official website: Sourcetree | as Free Git the GUI for Mac and Windows

SourceTreeSetup-3.1.2
Older sourcetree just add accounts.json file will be able to achieve free registration log in, you need to add the new version of the file and add user.config accounts.json field.

- the old version of the login screen
Older versions of the login screen:
- a new version of the login screen
-Here Insert Picture Description

Add accounts.json file

Sourcetree is an excellent git visual management tools by developers like Sourcetree official website, but need to install Google account login is required before they can turn qiang, this thing has been criticized. This tutorial today for everyone to provide free offline landed installation tutorial.

The method is very simple, just create a file in a fixed directory, you can skip registration login link during installation.

Creating accounts.json file, accounts.json file directory location, create a file in the following directory accounts.json

Note:% LocalAppData% is a Windows directory can identify variables

我的目录 C:\Users\yanfa\AppData\Local\Atlassian\SourceTree
accounts.json file contents
[
  {
    "$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
  }
]

Modify the configuration user.config

The file path where:% LocalAppData% \ Atlassian \ SourceTree.exe_Url_xxxxxxxxxx \ 3.1.2.3027 \ user.config

我的目录 C:\Users\yanfa\AppData\Local\Atlassian\SourceTree.exe_Url_jba5o2ikpzdn3fhjdpnlxoq3ccpwgjkw\3.1.2.3027\user.config

Here Insert Picture Description
Notepad to open user.config, add the following <SourceTree.Properties.Settings> and save it.

<setting name="AgreedToEULAVersion" serializeAs="String">
	<value>20160201</value>
</setting>

Open sourcetree, this time following interface, you come to a successful congratulations, you're done ...
Here Insert Picture Description

Guess you like

Origin blog.csdn.net/walter247443819/article/details/89356554