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?
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?
Do one of the following (not necessarily both):
core.editor
: git config --global core.editor "notepadqq"
GIT_EDITOR
environment variable: export GIT_EDITOR=notepadqq
notepadqq
needs a way to be "openable" in a fresh session and blocking the terminal, so it does not let git finishes before you've edited your commit message or rebase task list.
I would recommend kate
as an alternative, that works really well for that. Edit your ~/.profile
file, by adding this line
export GIT_EDITOR="kate --startanon --block"
git config
command? What was the result?