Open9
Git for Windowsのインストール

前提
- エディション:Windows 10 Home (64bit)
- バージョン:22H2

インストーラは以下サイトからダウンロード。

以下サイトを参考にインストール。細かい解説つき。

Git for Windows Version 2.41.0.3

以下、デフォルトから変更した設定項目。
- Select Components
- Choosing the default editor used by Git
- Adjusting the name of the initial branch in new repositories
- Configuring the line ending conversions

- Select Components
Windows Explorer integration
コンテキストメニューから起動することはなさそうなのでチェックを外す。

- Choosing the default editor used by Git
Use Visual Studio Code as Git's default editor
デフォルトエディタにVSCodeを設定。

- Adjusting the name of the initial branch in new repositories
Override the default branch name for new repositories
デフォルトのブランチ名はmainに設定。

- Configuring the line ending conversions
Checkout as-is, commit as-is
改行コードは自動変換しない。