SourceTree - the use of Git

SourceTree - the use of Git

A, SourceTree Profile

SourceTree is Windows and Mac OS X under free  Git  and Hg clients with visual interface, easy to use operation. It is also the Subversion and Mercurial version control system tools. It supports the creation, submission, clone, push, pull and merge operations.

Second, download and install SourceTree step

1. Download: https://www.sourcetreeapp.com/
direct download executable EXE file:

 

 

 

 

This article download location: E: \ toos2 \ git \ SourceTreeSetup-3.2.6.exe

 Double-click to run 

 

When installing SourceTree, atlassian authorization is required, even if this process over the wall there will be slow to respond, the issue can not receive mail, or SMS, is to provide skip atlassian account authorization method. Registered when the need over the wall, this is too slow and sometimes not successful. Here to talk about how to skip this process.

 

Double click SourceTreeSetup-3.2.6.exe program, find the need login account. You can close the program.

Then find% LocalAppData% folder, windows can be directly in the address bar:% LocalAppData% \ Atlassian \ SourceTree \ (usually C: \ Users \ Administrator \ AppData \ Local \ Atlassian \ SourceTree \),

Add a file in the folder, you can skip files with this account authorization. File name accounts.json, reads as follows

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

 

 

 

Open% LocalAppData% \ Atlassian \ SourceTree.exe_Url_iocx0zquoxaxykdlq121yp44utdolt5q (The directory may be inconsistent, can be found at the beginning SourceTree.exe_Url_.)
Then enter "3.2.6.3544" directory, open user.config file, the code in SourceTree.Properties.Settings add the following code block.
 

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

 

OK, get rid of login problems. .

 

SourceTree re-run the installation file, you can

If the pop-up allows you to install mecurial, select "I do not want to use mecurial".

 

enter main page:

Clone a best new project, since the existing warehouse Add very slowly.

 

  

OK, ready for use.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Quote: https://blog.csdn.net/chang_ge/article/details/80796266

 

Reference: https: //blog.csdn.net/z583773315/article/details/81144814

Reference: https: //blog.csdn.net/chang_ge/article/details/80796266
Reference: https: //www.w3cways.com/2328.html
Reference: https: //blog.csdn.net/ak739105231/article/ details / 88682135

 

Guess you like

Origin www.cnblogs.com/1285026182YUAN/p/11852895.html