Languages

How to fix git problem - error: unable to start editor 'emacs'?

2 points
Asked by:
MindOfMadness3
696

My problem description:

When I make git pull I have an error:

How can I fix it?

1 answer
7 points
Answered by:
Root-ssh
178180

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:

You could also install emacs editor, but most prople prefered vim over vi and emacs.

0 commentsAdd comment
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join