Archive for the ‘Git’ Category

2017年07月21日に投稿

git commit –amend を実行すると error: There was a problem with the editor ‘vi’. というエラーが出る場合の対処方法

git commit --amend --author="xxxxxx <xxx@example.com>" というコマンドを実行したときに、下記のエラーメッセージが表示され、期待した動作が実行されませんでした。

このエラーは下記のコマンドを実行することで解消されました。

git で利用するエディターが Vim ではなく、Vi となっていたことが原因のようです。