安装Git for Windows(新手向)
文章目录
下载Git for Windows
- 官网 https://git-scm.com/downloads
- Github https://github.com/git-for-windows/git/releases 由于国外网站访问速度比较慢,这里提供几个国内镜像源供大家使用
- 清华大学镜像源 https://mirrors.tuna.tsinghua.edu.cn/github-release/git-for-windows/git/
- npmmirror中国镜像站 https://registry.npmmirror.com/binary.html?path=git-for-windows/
- 华为开源镜像站 https://repo.huaweicloud.com/git-for-windows/
安装Git for Windows
Next下一步
选择安装路径
> * 命令行模式和图形模式
>* 大文件支持
>* 将.git配置文件与默认文本编辑器关联
>* .sh文件使用命令行模式运行
这里根据个人需求安装,以上几点建议勾选上
从这里开始基本就是下一步……下一步……下一步
默认选择Vim,如果安装了Notepad++、VSCode、Sublime Text也可以选择。
选择第一项Let Git decide
选择第二项Git from the command line and….
选择第一项Use bundled OpenSSH
选择第一项Use the OpenSSL library
选择第一项Checkout Windows-style,commit Unix-style…
选择第一项Use MinTTY(the default terminal of MSYS2)
选择第一项Default(fast-forward or merge)
选择第一项Git Credential Manager
勾选第一个Enable file system caching
这两个实验性功能我们就先不尝试了
然后就开始安装啦
安装完成!