Git、SourceTree安装与使用方法(Beyond Compare为对比插件)

本文详细介绍了在Windows系统下安装SourceTree的步骤,包括解决.NET Framework安装问题,以及如何集成Beyond Compare作为文件对比插件。此外,还讲解了SourceTree的基本操作,如克隆、忽略文件、打标签、分支管理和冲突解决等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

win7下无法安装,报错内容:Microsoft.NET Framework时显示阻滞问题说,此操作系统不支持 .NET Framework 4.7.1

        尝试过两种解决方案,均无法解决

        1、安装sp1补丁。

        2、将c:\windows下的Softwaredistribution文件夹重命名为SDOLD。

 

一 、SourceTree简介

SourceTree 是 Windows 和Mac OS X 下免费的 Git 和 Hg 客户端,拥有可视化界面,容易上手操作。同时它也是Mercurial和Subversion版本控制系统工具。支持创建、提交、clone、push、pull 和merge等操作。

二、下载安装SourceTree步骤

1.下载SourceTree

     下载地址:https://www.sourcetreeapp.com/,该版本是中文的 

2. 跳过Atlassian验证

  • 找到以下路径: C:\Users\Administrator\AppData\Local\Atlassian\SourceTree (你自己的用户名)

  • 找到accounts.json文件,如果没有就创建一个
  • 输入以下内容并保存:
[
  {
    "$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
  }
]

3. 正常安装SourceTree

安装首界面 
这里写图片描述

点击,Next 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值