分布式版本控制工具Git的安装

git分布式版本控制工具
本地仓库,远程仓库(github,gitee)
下载地址:https://git-scm.com/ 速度超级慢…23k/s

换成Git下载国内镜像地址
https://npm.taobao.org/mirrors/git-for-windows/
找到Git-2.38.1-64-bit.exe 下载后开始安装

1,选择安装目录(不要有中文&空格) D:\Develop\Git
2,select Components(选择组件) 默认
3,select Start Menu Folder(选择开始菜单)默认
4,Choosing the default editor used by Git(选择编辑器-我用的Vscode)

//5,
Adjusting the name of the initial branch in new repositories(初始化新项目的主干名字)
Let Git decide(选择1用master)
Override the default branch name for new repositories(选择2用main) -choice it
//6,
Adjusting your PATH environment(调整Git的环境变量)
//命令权限正好,可以用Git Bash,CMD ,PowerShell
Git from command line and also from 3rd-party software -choice it

//下面是直接选择的内容(也是默认的)
7,use bundled OpenSSH
8,use the OpenSSH library
9.checkout Windows-style,commit Unix-style line endings
10,Use MinTTY(the default terminal of MSYS2)
11,Default(fast-forward or merge)
12,Git Credential manager
13,Enable file system caching(启用系统缓存)

14,configuring experimental options(唯一一个什么都不选择的,不体验创新功能)
15,Install-安装完成

//16,检查git是否安装成功,右键鼠标打开Git Bash
 git -v
  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

代码非空

无限进步 保持热爱

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值