- Click on the Terminal button in SourceTree
- Run
cd T:\BuildASignin the Terminal - Paste the script below into the Terminal and hit Enter
for f in */.git
do
echo "Processing $f ..."
cd T:\BuildASign
cd $f
mkdir -p hooks
curl https://gist.githubusercontent.com/jmoubry/e1caa1b4f4a3e01c7d6348c6ac0d972f/raw/commit-msg.sh > hooks/commit-msg
chmod +x hooks/commit-msg
done