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?

makbuk
  • 11
  • 2

1 Answers1

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
storm
  • 4,943
  • 6
  • 35
  • 48
  • `export` applies to the current shell session only. – Melebius May 09 '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 http://stackoverflow.com/questions/9725160/aborting-commit-due-to-empty-commit-message git config --global core.editor "Notepad++ -w" - it doesn't work. – makbuk May 14 '17 at 13:28