Visual Studio Code をエディターに使う
-
Visual Studio Code (VS Code) をインストールします。 詳細については、VS Code ドキュメントの「VS Code の設定」を参照してください。
-
[Git Bash] を開きます。
-
次のコマンドを入力します。
git config --global core.editor "code --wait"
エディタとして Sublime Text を使う
-
Sublime Text をインストールします。 詳細については、Sublime Text の「Installation」(インストール) ドキュメントを参照してください。
-
[Git Bash] を開きます。
-
次のコマンドを入力します。
git config --global core.editor "'C:/Program Files (x86)/sublime text 3/subl.exe' -w"
エディタとして Notepad++ を使う
-
https://notepad-plus-plus.org/ Notepad++ をインストールしてください。 詳細については、Notepad++ の「概要」のドキュメントを参照してください。
-
[Git Bash] を開きます。
-
次のコマンドを入力します。
git config --global core.editor "'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"