EN
How to fix git problem - error: unable to start editor 'emacs'?
1 answers
2 points
My problem description:
When I make git pull I have an error:
xxxxxxxxxx
1
error: unable to start editor 'emacs'
How can I fix it?
1 answer
7 points
FIX:
You can fix this problem by setting vim editor as your default git editor. Most linux distro will have vim by default:
To set git editor to vim, we need to execute below command:
xxxxxxxxxx
1
git config --global core.editor vim
You could also install emacs editor, but most prople prefered vim over vi and emacs.
0 commentsShow commentsAdd comment