LoginSignup
4
2

More than 5 years have passed since last update.

git for windows エディタをTeraPadに変更

Posted at

コミットコメント入力時にVIが立ち上がりますがunixに慣れていないと戸惑いますね。

エディタの変更方法(TeraPad)

$ git config --global core.editor "'f:\tool\TeraPad\TeraPad.exe' //cu8" 

パスやエディターは自分の環境に合わせましょう。//cu8はUTF-8の文字コードの指定です。ご自分のエディターのオプションを確認しましょう。

確かめてみよう

git commit --amend

git commit --amendコマンドで直前のコミットの編集ができます。これでTeraPadが立ち上がればOKです。

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2