LoginSignup
49
40

More than 5 years have passed since last update.

gitで"error: There was a problem with the editor 'vi'."

Last updated at Posted at 2014-03-13

タイトルのエラーになったとき、エディタを設定することで解決する。

例えばエディタをvimに設定するには

git config --global core.editor vim

設定の確認は

less ~/.gitconfig
[core]
        editor = vim
49
40
2

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
49
40