TortoiseGit Git Commit message from script
问题 I have generated Start Commit Hook in TortoiseGit which calls StartComit.bat file and option "Wait for the script to finish" is enabled. The content of the bat file is echo "Some more info...." >> %1 The script is getting called before Commit dialog opens but it's not working, I'm not getting any text in Message field. What am I doing wrong here? Edit: Just to make question more clear I'm trying to fallow this accepted answer https://stackoverflow.com/a/3967136/596935 and do a similar thing.