1,Git是什么?

(1),Git是目前世界上最先进的分布式版本控制系统。

(2),Git 与svn 的区别

Git是分布式版本控制系统,那么它就没有中央服务器的,每个人的电脑就是一个完整的版本库,这样工作就不需要联网,因为版本是在自己的电脑上面.既然每个人都有一个完整的版本库,那多个人如何协作的呢?比如自己在电脑上面修改了A文件,其他人也在电脑上面修改了A文件,这时,你们两之间只需把各自的修改推送给对方,就可以互相看到对方的修改了.

svn是集中式版本控制系统,版本库是集中放在中央服务器的,而干活的时候,用的都是自己的电脑,所以首先要从中央服务器哪里得到最新的版本,然后干活,干完后,需要把自己做完的活推送到中央服务器。集中式版本控制系统是必须联网才能工作,如果在局域网还可以,带宽够大,速度够快,如果在互联网下,如果网速慢的话,就蛋疼了。

2,,下载的git

https://git-scm.com/

3,安装:

next-->  配置

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更新 

选择Git使用的默认编辑器

配置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 ”。只有在了解其含义后才使用此选项。

选择HTTPS传输后端

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 。

配置行结束转换

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”)

配置终端模拟器以与 Git Bash 一起使用

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之前,其窗口不能自由调整大小,并且只允许矩形文本选择。

配置额外的选项

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权限)。请注意,现有存储库不受此设置的影响。

Installing

Completing the Git Setup Wizard

Git 安装和配置(一)相关推荐

  1. Git安装及配置5分钟快速教程

    转载自 Git安装及配置5分钟快速教程 Git是什么 Git是一款免费.开源的分布式版本控制系统,可以有效.高速的处理从很小到非常大的项目版本管理. 与常用的版本控制工具CVS.Subversion等 ...

  2. Win7上Git安装及配置过程 [转]

    文档名称 Win7上Git安装及配置过程 创建时间 2012/8/20 修改时间 2012/8/20 创建人 Baifx 简介(收获) 1.在win7上安装msysgit步骤: 2.在win7上安装T ...

  3. linux 的git的安装目录,Linux下Git安装及配置较详细-Go语言中文社区

    1.下载git源码 2.解压安装包 --解压:tar -zxvf git-2.9.5.tar.gz --移直目标文件:mv /root/git-2.9.5  /usr/git-2.9.5(使用Xftp ...

  4. Linux要学git吗,git学习一 基于linux ubuntu git安装与配置

    1.安装git ># sudo apt-get build-dep git-core git-doc 这个会安装git-core和git-doc依赖的库. 接下来去官网下载git的源码包.把下载 ...

  5. g4e基础篇#3 Git安装与配置

    现在你已经对Git有了最基本的了解,现在让我们开始动手开始安装和配置Git环境. Git工具包括Git命令行工具,图形化工具和服务器环境:在我们这个教程中,我们会使用以下软件配置我们的环境: • Wi ...

  6. Git安装、配置和使用

    目录 一.Git 简介 二.Git安装 在 Windows 上安装 三.Git环境配置 配置用户名和邮件地址 检查配置 Git 颜色配置 Git忽略文件配置 Git 配置别名 配置 git reset ...

  7. linux下git安装和配置

    搭建Git服务器需要准备一台运行Linux的机器,本文以Centos6.8纯净版系统为例搭建自己的Git服务. 准备工作:以root用户登陆自己的Linux服务器. 一 安装git 1. 安装依赖包 ...

  8. Git - 安装与配置

    1. 安装Gitk 安装流程可参考Git官网或官方汉化教程. $ git --version git version 2.36.1 2. 配置公钥 # 生成密钥对(可一路回车) $ ssh-keyge ...

  9. java-初识大前端Node.js、ES6、Npm、Babel、模块化规范、WebPack、Vue-element-admin本地安装问题及解决、Git安装及配置、uni-app

    VS code安装 安装成功 配置自动补齐Emment Node.js node.js下载网址: http://nodejs.cn/ 安装成功! 概念 Node.js发布于2009年5月,由Ryan ...

  10. mac git安装和配置

    一.mac上安装git 如果电脑上安装了homebrew,可以直接打开终端,使用命令 brew install git 安装,安装好之后可以使用git --version来查看git版本. 二.git ...

最新文章

  1. Response 和 Request
  2. 直播系统:泛娱乐直播新趋势
  3. ABAP OO的八大理由
  4. 2013.7.15DAY2
  5. css中图片有缩放和转动效果
  6. 助力中小企业级连云端,促进工业互联网平台蓬勃发展,全套解决方案。附:技术产品
  7. cesium 经纬度绘制点_NCL绘制2016年1号台风(Nepartak)
  8. Mouse Event (Java AWT)
  9. MySQL深度剖析之SQL语句更新流程(2021)
  10. Linux中常用的网络命令
  11. git提示(拷贝密钥问题)“Load key /home/devid/.ssh/id_rsa: bad permissions”
  12. linux中nohup命令_Linux中的Nohup命令
  13. 基于python的数据分析-基于Python的南京二手房数据可视化分析
  14. 什么是取整?有几种取整方式?C语言又是哪种方式?取模取余一样吗?
  15. 神盾局第二季麦克机器人_神盾局特工第四季分集剧情介绍(1-22集)大结局
  16. 计算机毕业设计 SpringBoot+Vue作业帮课程管理系统 作业帮信息管理系统 作业帮试题管理系统
  17. Linux操作系统下的权限设置
  18. win10ltsc转版本,win10ltsc升级win11,无损
  19. CAN总线学习:MM32
  20. 企业微信 - 封装JS-SDK使用方法

热门文章

  1. 51单片机存储器原理
  2. html5滑动删除置顶,js实现移动端向左滑动删除效果
  3. 上半年亏损之下,卫龙第三次冲刺港股IPO
  4. Windows Phone 7体验
  5. 京东电器工程师笔试题
  6. Oracle项目管理系统之风险定性分析
  7. 【UBUNTU】ubuntu18.04安装及更新
  8. 抖音卡点视频怎么制作
  9. 什么护眼灯对眼睛好?2022护眼灯315合格产品
  10. C++编程故障处理——error: assignment of read-only data-member ‘std::pair