咱們先去官網下載地址,去下載。git
https://git-scm.com/downloadswindows
1.後端
2.安全
3.工具
雙擊 Git-2.20.1-64-bit.exe 安裝命令行
4.3d
5.unix
6.blog
7.ssl
8.
9.
設置環境變量(選擇使用命令行環境)
Use Git from Git Bash only-->>git自帶的命令行工具
Git from the command line and also from 3rd-party software-->>使用Windows系統的cmd命令行工具
Use Git and optional Unix tools from the Command Prompt-->>上面兩者同時配置,可是注意這樣會將windows中的find.exe和sort.exe工具覆蓋,若是不懂這些儘可能不要選擇
10.
choosing https transport backend:選擇https傳輸後端
use the openssl library:使用OpenSSL庫
use the native windows secure channel library:使用本機的安全庫
11.
配置結束轉換的行
Checkout Windows-style,commit Unix-style line endings:(Windows系統安裝選擇)檢查換行格式將windows格式的換行轉換爲unix格式的換行在進行提交
Checkout as-is,commit Unix-style line endings:(Unix系統安裝選擇)檢查換行格式將原來無論什麼格式的換行一概轉換爲unix格式的換行在進行提交
Checkout as-is,commit as-is:(非跨平臺項目安裝選擇)不進行格式轉換,檢查出什麼格式就提交什麼格式
12.
配置終端模擬器以使用Git Bash
13.
14.
launch finish to exit setup: 啓動完成以退出安裝程序
view relese notes:查看說明
15.
配置環境變量
我安裝的是F盤,因此我把git下的cmd在當前所有路徑複製,
16.
17.
18.
19.
啓動GIT命令是否,安裝成功
20.