System Description:
- Windows 7
- git version 2.10.1.windows.1
- TortoiseGit 2.3.0.0
I want to:
Merge commit message should be completely different in automatic mode (without amend )
Summary:
In windows using tortoiseGit there is no prepare-commit-msg hook , only start-commit-hook and no matter what the script hook is, I get a windows popup:
%1 is not a valid Win32 application
In addition, I would prefer only to change the commit messages that "merge".
Actions:
set the hook:

Set the working tree path to the same as my project path,
and in the "Command line for execution" I select the file that I prepared:
.git\hooks\prepare-commit-msg
whose contents are echo "test" .
Then I try to commit and get this error:

I made sure that this script file is really the file that is being used,
because if I delete it, I get this message:

git tortoisegit
vsync Oct 10 '16 at 13:27 2016-10-10 13:27
source share