Window下搭建Git服务器 - Git安装配置

本篇单独讲述Windows下Git的安装配置,关于整个Git服务器配置的请移步-
Window下搭建Git服务器 - Git + COPSSH + TortoiseGit

首先在Git官网下载安装包
Git for Windows Setup
对照着系统是32位或者64位自行下载

Git安装

  1. 下载完之后双击安装程序,直接next进入下一步
    Window下搭建Git服务器 - Git安装配置
    2.选择安装路径,不要装在名字带空格的路径下,比如Program Files
    Window下搭建Git服务器 - Git安装配置
    3.配置选项,第一项是在桌面创建快捷方式,这个看个人需求,第二项是在右键菜单栏新建Git Bush HereGit GUI Here操作,建议勾选上
    Window下搭建Git服务器 - Git安装配置
    4.在开始菜单栏的名字,默认next
    Window下搭建Git服务器 - Git安装配置
    5.设置Git命令行使用环境,选第一项,只在Git Bush中使用
    Window下搭建Git服务器 - Git安装配置
    6.链接库选择,默认next
    Window下搭建Git服务器 - Git安装配置
    7.不转换成unix风格,选第三项,next
    Window下搭建Git服务器 - Git安装配置
    8.默认next
    Window下搭建Git服务器 - Git安装配置
    9.使能前两项,Install
    Window下搭建Git服务器 - Git安装配置
    10.等待进度条跑完
    Window下搭建Git服务器 - Git安装配置
    11.安装完成
    Window下搭建Git服务器 - Git安装配置
    完成后在桌面右键鼠标,可以看到右键菜单多了Git BushGit GUI两项,证明Git已经成功安装了