[git-users] How to change default git commit message

2016-01-18 Thread Adrian Banasiak
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

Re: [git-users] How to change default git commit message

2016-01-18 Thread Konstantin Khomoutov
On Mon, 18 Jan 2016 07:15:48 -0800 (PST) Adrian Banasiak wrote: > 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