Install sourcetree and operate Git

Download the installation package, I downloaded it from Tencent Butler

After downloading, since both accounts require an external network connection, it is recommended to crack the account and log in as follows

 

First click x to see if there is such a file as shown in the path %LocalAppData%\Atlassian\SourceTree\, I use Tencent Manager to download it, and there is one as shown in the picture

If not, create an accounts.json file yourself, the content of the file is 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, enter " SourceTree.exe_Url_iayhtc13zv3obzuz5vchezjs1az2q5ef ", then enter the " 3.3.8.3848 " directory, open the user.config file, add six lines of code in it and put it under <SourceTree.Properties.Settings>

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

After saving the file, double-click to open the sourcetree interface as shown in the figure, select I do not want to use

The installation is complete

 

After cloning, modify a file locally and submit it

 

 

 

 

 

Guess you like

Origin blog.csdn.net/qq_40609490/article/details/126118837