Thanks it works but I would now is there any chance to edit this default
# 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
Or how can it by shown on the top of commit window ( so I would have this
default commit message on the top and next my message from .git/hooks )?
Not on the bottom.
W dniu poniedziałek, 18 stycznia 2016 16:32:16 UTC+1 użytkownik Konstantin
> On Mon, 18 Jan 2016 07:15:48 -0800 (PST)
> > I've 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
> > Question is there any chance to show this default message on the top?
> > Or better permanently remove this message?
> May be you need to set the "commit.status" variable to false?
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.