I created a Start Commit Hook in TortoiseGit that calls the StartComit.bat file and the parameter "Wait for the script to finish."
The contents of the bat file are
echo "Some more info...." >> %1
The script receives the call until the Commit dialog opens, but it does not work, I do not receive the text in the "Message" field.
What am I doing wrong here?
Edit: just in order to make the question clearer, I am trying to fulfill this accepted answer https://stackoverflow.com/a/167609/ and do a similar thing.
git windows pre-commit-hook tortoisegit batch-file
Milos Jul 14 '16 at 10:27 2016-07-14 10:27
source share