1

I found examples for Windows but I do not find for Ubuntu.

https://blog.kitware.com/using-notepad-for-your-git-commit-messages/

How to use Notepadqq for edit git commit messages in Ubuntu?

  • Have you tried using the git config command? What was the result? – Melebius May 9 '17 at 12:28
0

Do one of the following (not necessarily both):

  • Set core.editor : git config --global core.editor "notepadqq"
  • Set the GIT_EDITOR environment variable: export GIT_EDITOR=notepadqq
  • export applies to the current shell session only. – Melebius May 9 '17 at 13:08
  • I tried to do it as in the first version. But it shows me message "Aborting commit due to empty commit message." When I try to do as described here stackoverflow.com/questions/9725160/… git config --global core.editor "Notepad++ -w" - it doesn't work. – makbuk May 14 '17 at 13:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.