手順
-
Git for Windowsをダウンロード
-
ダウンロードした
Git-2.35.1.2-64-bit.exe
を実行。 -
新しいリポジトリで最初に作成するブランチ名の指定。こういうことらしい。
Override the default branch name for new repositories
を選択して[Next]を押下。(※まだ「Gitがよくわからん」という人はLet Git decide
から変えない方がいいかも)
-
Windows環境変数の調整。
Git form the command line and also form 3rd-party software
を選択して[Next]を押下。(※Windows に別途インストールされたサードパーティソフトウェアも gitbash から実行可能になるオプション。次項に日本語訳あり)
英文とその訳(By Google 翻訳)
- Use Git from Git Bash only.
-
GitBash の Git のみを使用してください。
This is the most cautious choice as your PATH will not be moddifed at all. You w only be able use the Git command line tools from Git Bash.
PATH はまったく変更されないため、これは最も慎重な選択です。 GitBash の Git コマンドラインツールのみを使用できます。 - Git form the command line and also form 3rd-party software
-
Git はコマンドラインを形成し、サードパーティソフトウェアも形成します
(Recommended)This option adds only same minimal Git wrappers to your PATH to avoid cluttering your enviroment with optional Unix tools.
You will be able to use Git from Git Bash, the Command Prompt and the WindowsPowerShell as well as any third-party software looking for Git in PATH.
(推奨)このオプションは、オプションの Unix ツールで環境が乱雑にならないように、同じ最小限の Git ラッパーのみを PATH に追加します。
Git BashのGit、コマンドプロンプト、WindowsPowerShell、およびPATHでGitを検索するサードパーティソフトウェアを使用できます。 - Use Git and optional Unix tools from the Command Prompt
-
コマンドプロンプトから Git とオプションの Unix ツールを使用する
Both Git and optional Unix tools will be added to your PATH.
Warning: This will override Windows tools like "find" and "sort". Only use the option if your understand the implications.
GitとオプションのUnixツールの両方がPATHに追加されます。
警告:これにより、「検索」や「並べ替え」などのWindowsツールが上書きされます。 影響を理解している場合にのみ、このオプションを使用してください。
-
改行コード(LF ⇔ CRLF)の自動変換。よほどの事が無い限り
Checkout Windows-style, commit Unix-style line endings
一択。[Next]を押下。
了