I have added some changes on commit message in prepare-commit-msg file and then I exec this command
git config --global commit.template .git/hooks/prepare-commit-msg
After that when I do git commit I receive something like this
40 lines of my changes and then
# Please enter the commit message for your changes. Lines starting # with # will be ignored,
and an empty message aborts the commit. # Explicit paths specified without -i nor -o;
assuming --only paths... # On branch master # Changes to be committed: # # modified: test #
Question is there any chance to show this default message on the top? Or better permanently remove this message?