Windows build SourceTree, Git code management platform

1. Git installation (latest version 2.16.2 or later is recommended)

Official website address: point I am!

Installation process: The next step is OK!

Note: Do not install the strength with Chinese!

Verify the installation: Open the git bash command line and type git –version

2, SourceTree installation (recommended to install the latest version 2.4.7.0 and later)

Official website address: point I am!

Installation process: There is a small problem here! The thief blue thin! If you’re stuck in the picture below, HERE’s how to fix it!

Solutions:

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 top address bar: %LocalAppData%\Atlassian\SourceTree\

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 SourceTree again to skip login and go to the software page.

Segments of the above article source: https://www.jianshu.com/p/3478e2a214a1

3, other

If your installation is too low and SourceTree can’t clone the project, update your Git and SourceTree versions.


Today is the first day of my internship! Work and study, hope to progress together with you, grow together!