1.开始安装的界面--开始吧!

安装的界面

2.安装路径

安装路径

3.选择安装组件--推荐全选哟!

选择安装组件

4.我的选择

Additional icons 附加图标

​ On the Desktop 在桌面上

Windows Explorer integration Windows资源管理器集成鼠标右键菜单

​ Git Bash Here

​ Git GUI Here

Git LFS (Large File Support)

大文件支持

Associate .git* configuration files with the default text editor

将 .git 配置文件与默认文本编辑器相关联

Associate .sh files to be run with Bash

将.sh文件关联到Bash运行

Use a TrueType font in all console windows

在所有控制台窗口中使用TrueType字体

Check daily for Git for Windows updates

每天检查Git是否有Windows更新

5.菜单文件夹--没什么要讲的 默认!

菜单文件夹

6:选择Git使用的默认编辑器

Use the Nano editor by default

默认使用 Nano 编辑器

Use Vim (The ubiquitous text editor) as Git's default editor

使用 Vim 作为 Git 的默认编辑器

Use Notepad++ as Git's default editor

使用 Notepad++ 作为 Git 的默认编辑器

Use Visual Studio Code as Git's default editor

使用 Visual Studio Code 作为 Git 的默认编辑器

7.修改系统的环境变量---建议选择上面两个

修改系统的环境变量

配置PATH环境

Use Git from Git Bash only

This is the safest choice as your PATH will not be modified at all.You will only be able to use the Git command line tools form Git Bash.

这是最安全的选择,因为您的PATH根本不会被修改。您只能使用 Git Bash 的 Git 命令行工具。

Use Git from the Windows Command Prompt

This option is considered safe as it only adds some minimal Git wrappers to your PATH to avoid cluttering your environment with optional Unix tools . You will be able to use Git from both Git Bash and the Windows Command Prompt.

这个选项被认为是安全的,因为它只向PATH添加一些最小的 Git包,以避免使用可选的Unix工具混淆环境。 您将能够从 Git Bash 和 Windows 命令提示符中使用 Git。

Use Git and optional Unix tools from the Windows Command Prompt

从Windows命令提示符使用Git和可选的Unix工具

Both Git and the optional Unix tools will be added to you PATH

Git和可选的Unix工具都将添加到您计算机的 PATH 中

Warning:This will override Windows tools like "find and sort".Only use this option if you understand the implications.

警告:这将覆盖Windows工具,如 “ find 和 sort ”。只有在了解其含义后才使用此选项。

8.SSL的证书的选择

SSL的证书的选择

https:(全称:Hyper Text Transfer Protocol over Secure Socket Layer)

简单讲是HTTP的安全版。即HTTP下加入SSL层,HTTPS的安全基础是SSL,因此加密的详细内容就需要SSL。 它是一个URI scheme(抽象标识符体系),句法类同http:体系。用于安全的HTTP数据传输。

参考链接:百科

Use the OpenSSL library

使用 OpenSSL 库

Server certificates will be validated using the ca-bundle.crt file.

服务器证书将使用ca-bundle.crt文件进行验证。

Use the native Windows Secure Channel library

使用本地 Windows 安全通道库

Server certificates will be validated using Windows Certificate Stores.This option also allows you to use your company's internal Root CA certificates distributed e.g. via Active Directory Domain Services.

服务器证书将使用Windows证书存储验证。此选项还允许您使用公司的内部根CA证书,例如, 通过Active Directory Domain Services 。

9.配置行尾结束符

配置行尾结束符

Unix-style和Windows:简单说:windows<回车换行> (carriage return AND line feed)使用:“\n\r” 换行;Unix<换行> (carriage return)下使用:“\n”;各个系统换行问题:

Checkout Windows-style,commit Unix-style line endings

Git will convert LF to CRLF when checking out text files.When committing text files,CRLF will be converted to LF .For cross-pltform projects,this is the recommended setting on Windows ("core.autocrlf" is set to "true")

在检出文本文件时,Git会将LF转换为CRLF。当提交文本文件时,CRLF将转换为LF。 对于跨平台项目,这是Windows上推荐的设置(“core.autocrlf”设置为“true”)

Checkout as-is , commit Unix-style line endings

Git will not perform any conversion when checking out text files. When committing text files, CRLF will be converted to LF. For cross-platform projects,this is the recommended setting on Unix ("core.autocrlf" is set to "input")

在检出文本文件时,Git不会执行任何转换。 提交文本文件时,CRLF将转换为LF。 对于跨平台项目,这是Unix上的推荐设置 (“core.autocrlf”设置为“input”)

Checkout as-is,commit as-is

Git will not perform any conversions when checking out or committing text files.Choosing this option is not recommended for cross-platform projects ("core.autocrlf"is set to "false")

在检出或提交文本文件时,Git不会执行任何转换。对于跨平台项目,不推荐使用此选项(“core.autocrlf”设置为“false”)

10.配置终端仿真

大多数其他Cygwin/MSYS终端一样,MinTTY也是基于pseudo终端("pty")设备的。但是MinTTY并不能完全替代windows的命令提示符。windows上自带简单的文本输出的原生态的命令提示符通常可以很好的工作,但交互性更好的诸如MinTTY这样的应用程序却可能出现故障——虽然通常都有应对方案。这就是为什么MinTTY不能完全替代windows自带的命令提示符。

参考链接:百科

Use MinTTY (the default terminal of MSYS2)

Git Bash will use MinTTY as terminal emulator,which sports a resizable window,non-rectangular selections and a Unicode font. Windows console programs (such as interactive Python) must be launched via 'winpty' to work in MinTTY.

Git Bash将使用MinTTY作为终端模拟器,该模拟器具有可调整大小的窗口,非矩形选区和Unicode字体。 Windows控制台程序(如交互式Python)必须通过'winpty'启动才能在MinTTY中运行。

Use Windows' default console window

Git will use the default console window of Windows ("cmd.exe"),which works well with Win32 console programs such as interactive Python or node.js , but has a very limited default scroll-back,needs to be configured to use aUnicode font in order to display non-ASCII characters correctly,and prior to Windows 10 its windows was not freely resizable and it only allowed rectangular text selections.

Git将使用Windows的默认控制台窗口(“cmd.exe”),该窗口可以与Win32控制台程序(如交互式Python或node.js)一起使用,但默认的回滚非常有限,需要配置为使用unicode 字体以正确显示非ASCII字符,并且在Windows 10之前,其窗口不能自由调整大小,并且只允许矩形文本选择。

11.其他的配置--默认即可

认证管理器:参考链接就是Github的账号等认证机制

符号链接:参考官方介绍参考博文

Enable file system caching

启用文件系统缓存

File system data will be read in bulk and cached in memory for certain operations ("core.fscache" is set to "true"). This provides a significant performance boost.

文件系统数据将被批量读取并缓存在内存中用于某些操作(“core.fscache”设置为“true”)。 这提供了显着的性能提升。

Enable Git Credential Manager

启用Git凭证管理器

The Git Credential Manager for Windows provides secure Git credential storage for Windows,most notably multi-factor authentication support for Visual Studio Team Services and GitHub. (requires .NET framework v4.5.1 or or later).

Windows的Git凭证管理器为Windows提供安全的Git凭证存储,最显着的是对Visual Studio Team Services和GitHub的多因素身份验证支持。 (需要.NET Framework v4.5.1或更高版本)。

Enable symbolic links

启用符号链接

Enable symbolic links (requires the SeCreateSymbolicLink permission).Please note that existing repositories are unaffected by this setting.

启用符号链接(需要SeCreateSymbolicLink权限)。请注意,现有存储库不受此设置的影响。

12.安装中;文件复制...

安装中

13.使用测试界面

.使用测试界面

14. 初始化配置

1

这里写图片描述

配置git账号和邮箱:

用户名和邮箱地址的作用:

用户名和邮箱地址是本地Git客户端的一个变量,不随git库而改变。

每次commit都会用用户名和邮箱纪录。

github的contributions统计就是按邮箱来统计的。

xxxx写你的用户名,怎么喜欢怎么来,实际上git就是用
name和email做个标识。

配置完,所有至此完成。
查看用户名、邮箱命令

$ git config user.name

$ git config user.email

修改用户名、邮箱命令

$ git config --global user.name "xxxx"

$ git config --global user.email "xxxxx@xxx.com"

15、使用过程问题解决会汇总

如果中文没有正常显示,请求鼠标右击选择“option"选项,更换语言即可。

编码修改

Git安装教程(Windows安装)相关推荐

  1. c mysql安装教程视频_MySQL安装教程 - Windows安装MySQL教程 - 小白式安装MySQL教程 - 青衫慧博客...

    版权声明 本文转发自旧站点萧瑟云日志,近期考虑准备将旧站进行关闭(没有精力维护),部分文章将会迁移至本站.文章发表于:2017-10-28 12:32:03 前言 上次给大家带来了SQL Server ...

  2. HEG安装教程(windows平台)

    HEG安装教程[windows平台] HEG介绍 HEG下载 安装 HEG介绍 HEG(HDF-EOS To GeoTIFF Conversion Tool )是一种从HDF-EOS到GeoTIFF转 ...

  3. 【OpenVINO】OpenVINO 2022.1 安装教程(Windows)

    OpenVINOTM2022.1 安装教程 Windows 1. OpenVINOTM介绍 2.OpenVINOTMTM 安装环境和安装特性介绍 2.1OpenVINOTMTM 安装环境 2.2 Op ...

  4. hdf heg 批量拼接_HEG安装教程(windows平台)

    HEG安装教程[windows平台] HEG介绍 HEG下载 安装 HEG介绍 HEG(HDF-EOS To GeoTIFF Conversion Tool )是一种从HDF-EOS到GeoTIFF转 ...

  5. node.js 安装教程 (Windows zip 版)

    node.js 安装教程 (Windows zip 版) 1 官网 地址:Node.js (nodejs.org) 界面: 2 下载 地址:下载 | Node.js (nodejs.org) 自行选择 ...

  6. mac要装anaconda吗_Anaconda安装教程|Windows,Linux ,Mac OS

    Anaconda是一个包含多种实用库的Python发行版,直接安装它就不用再自己费力安装常用库了(包括Numpy.Pandas之类的都自带了),是科研和开发的好工具 下载Anaconda 去Anaco ...

  7. mysql5 7安装教程_MySQL57安装教程

    MySQL57安装教程... --------------------------- 首先需要下载MySQL57安装包: --------------------------------------- ...

  8. 解决M1芯片无法安装AE闪退问题,AEcc2021中文直装版兼容M1芯片安装教程 M1安装方案

    Adobe After Effects 2021 mac M1版上线啦!ae2021 mac中文版是ae Mac的最新版本,全新优化专为Mac用户设计,让不可能变为可能.ae 2021 mac破解版下 ...

  9. JDK安装 + MyEclipse安装:JDK安装教程+MyEclipse安装教程(包含视频教程)

    jdk安装 + myeclipse安装:jdk安装教程+myeclipse安装教程: 1.JDK简介:java开发环境,包含JRE(java运行环境)+ 和java开发工具包. 2.MyEclipse ...

  10. Android Studio安装教程及安装中出现问题的解决办法

    Android Studio安装教程及安装中出现问题的解决办法 Android Studio安装教程: 安装网址: AndroidDevtools下载:https://developer.androi ...

最新文章

  1. Source Insight乱码的解决方案,SI不支持UTF-8字符编码乱码
  2. 读完这些论文和代码,你就能在搜狐算法大赛中获得好成绩了
  3. 向数据库中导入AWR数据
  4. Linux查看指定进程占用mem,Linux查看占用mem的进程脚本
  5. 【Qt开发】Qt标准对话框之QMessageBox
  6. C++自己实现一个String类(腾讯阿里面试题目)
  7. SpringCloud 服务网关 Zuul 自定义路由和排除路由配置
  8. python学习--关注容易被忽略的知识点--(四)函数式编程
  9. CS229学习笔记(1)引言、单变量线性回归
  10. [序列化] SerializeHelper--序列化操作帮助类 (转载)
  11. 基于Pairwise排序学习的因子分解推荐算法
  12. 今天遇到的一个诡异的core和解决 std::sort
  13. Angularjs的真分页,服务端分页,后台分页的解决方案
  14. vpp之feature机制介绍
  15. 【JavaWeb】JSP:基本语法大全
  16. js实现幻灯片案例解析
  17. Segmentation fault (core dumped)分析解决
  18. Linux内核LED模块分析(二)
  19. 大数据:电信运营商的另一颗福星?
  20. Android开发工程师笔试题

热门文章

  1. 2021年春季学期-信号与系统-第五次作业参考答案-第八小题
  2. 小型荧光驱动电路实验电路
  3. 940m显卡 出现跳动的小点_启用4K 120Hz后NVIDIA安培显卡黑屏 原因找到:HDMI 2.1芯片BUG导致...
  4. Linux 内核网络子系统 总结 (未完待续)
  5. 中表名字必须大写吗_小白也能学会的C-枯燥且必须的语法
  6. vue中如何加入横线_在word文档中如何快速添加页眉横线和删除页眉横线?
  7. 服务器php环境一键配置,phpstudy一键配置服务器环境教程
  8. bootstrap项目实例_精选开源SpringBoot项目:涵盖权限、搜索、秒杀、支付!值得学习...
  9. 12306抢票脚本 python_如何使用Python实现12306抢票?摆脱无票可买的窘境
  10. matlab 几何概率