Git 安装
简要概述
总结在Windows上安装Git的步骤。
Git (基特)
下载
从Git官方网站上下载。
安装
双击下载的文件来启动安装程序。
授权验证

安装目标设置

组件设置
勾选要安装的组件,然后点击下一步。
-
- On the Desktop
デスクトップへのアイコンの追加を行う。
Git Bash Here
エクスプローラーの右クリックメニューのリストに「Git Bash Here」を追加する。
Git GUI Here
エクスプローラーの右クリックメニューのリストに「Git GUI Here」を追加する。
Git LFS (Large File System)
Git LFS(大きなサイズのファイル・システム)の導入を行う。
Associate .git* configuration files with the default text editor
デフォルトのテキスト・エディターと「.git*」コンフィグレーション・ファイルを関連付ける。
Assiciate .sh files to be run with Bash
Bash と「.sh」ファイルを関連付ける
Use a TrueType font in all console windows:
コンソールウィンドウで「TrueType フォント」を使う。
Check Daily For Git for Windows Updates
毎日 Git for Windows のアップデートが有るか確認する。

将其添加到开始菜单中。

编辑器的选择

设置环境变量
选择在命令行和第三方软件中使用Git,然后点击“下一步”。
-
- Use Git from Git Bash Only
Git コマンドを Git Bash でしか使えない状態にする。
Use Git from the Command line and also from 3rd-party software
Git コマンドをコマンドプロンプトからでも使えるようにする。
Use Git and optional Unix tools from the Windows Command Prompt
Git コマンドだけでなく、Unix コマンドもコマンドプロンプトから使えるようにする。

SSL库的配置
选择 OpenSSL 库,然后点击下一步。
-
- Use the OpenSSL library
内臓の証明書ライブラリを使用する。
Use the native Windows Secure Channel library
Windows の証明書ライブラリを使用する。

设定换行符
请选择 “保持原样,使用Unix风格换行符”,然后单击 “下一步”。
-
- Checkout Windows-style,commit Unix-style line endings
チェックアウト時に改行コードを LF から CRLF に変換し、コミット時に CRLF から LF に戻す。
Checkout as-is, commit Unix-style line endings
チェックアウト時は何もしないが、コミット時に CRLF を LF に変換する。
Checkout as-is, commit as-is
何も変換しない。

终端模拟器的设置
选择MinTTY并点击下一步。
-
- Use MinTTY
MinTTY を使用する。
Use Windows’s default console windows
Windows のコマンドプロンプトを使用する。

其他设置
点击所有复选框后,点击安装按钮。
-
- Enable file system caching
git status 時などでの応答速度を改善する fscache キャッシュを有効にするかしないかオプション
Enable Git Credential Manager
GitHub 等にアクセスする際の二段階認証に対応するかのオプション
Enable symbolic links – シンボリックリンクの使用/不使用のオプション

开始安装

安装完成
