TortoiseGit Git Commit message from script
<p>I have generated Start Commit Hook in TortoiseGit which calls <em>StartComit.bat</em> file and option <em>"Wait for the script to finish"</em> is enabled.</p>

<p>The content of the bat file is</p>

<pre><code>echo "Some more info...." &gt;&gt; %1
</code></pre>

<p>The script is getting called <strong>before</strong> Commit dialog opens but it's not working, I'm not getting any text in Message field. </p>

<p>What am I doing wrong here?</p>

<p>Edit: Just to make question more clear I'm trying to fallow this accepted answer <a href="https://stackoverflow.com/a/3967136/596935">https://stackoverflow.com/a/3967136/596935</a> and do a similar thing.</p>