git安装与配置

下载windows git

https://git-scm.com/
修改安装路径 之后一路next就可以了
在这里插入图片描述

配置用户信息

git config --global user.name “mlp”

git config --global user.email “maoluping111@163.com”
看配置成功没有

git config --list

客户端gui界面(windows)

SourceTree 3.3.8安装跳过注册安装
1、访问官网下载SourceTree最新版本 https://www.sourcetreeapp.com/
2、安装SourceTree 3.3.8,执行到选择 bitbucket 的界面退出。
3、到 C:\Users{当前用户名}\AppData\Local\Atlassian\SourceTree\ 这个路径下新建 accounts.json ,并复制如下代码到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
  }
]

4、在同级文件夹,后缀随机码有所不同,前面基本一致

C:\Users\Administrator\AppData\Local\Atlassian\SourceTree.exe_Url_ul4qrk3hz4zqb14vcaiypmrdv255kkqk

打开user.config文件,在sourceTree…标签内加入

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

5、重启软件后就已经跳过了注册/登录的步骤,此时会弹出选择第一个内嵌版即可
在这里插入图片描述
弹出如下,选择第四个不想使用Mercurial,安装即可完成
最后就会弹出管理页面了

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值