0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Gitメモ:GitのデフォルトエディタをVimからVSCodeへ

Posted at

Gitでコミットメッセージなどを編集するとき、デフォルトだとVimが立ち上がります。
ターミナルかっこいいーふぉぉぉとかいうタイプだったので長らくそのままにしてましたが
いいかげん面倒になりVSCode(VisualStudioCode)へ変更。
その時のメモです。

変更方法

$ git config --global core.editor

戻し方

$ git config --global core.editor 'vim'

最近、結構経験あるエンジニアでも意外とGitの動きを正確に理解していないことに気づく。
トリビア的になると思いますが今後もちょこちょこ書き溜めようかと思います。

0
1
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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?