Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Windows マシンから UNIX マシンに ssh します。git commit を実行すると、git は常にリモート マシンで Vi を起動し、コミット メッセージを入力できるようにします。
Windows クライアント マシンでデフォルトのエディタをメモ帳に変更することはできますか?
通常の ssh セッションを介して Windows で GUI プログラムを起動することはできません。デフォルトのエディターを nano などの別の端末エディターに切り替えたい場合は、次のようにします。
git config --global core.editor "nano"
ソース