Forráskód Böngészése

Add git_tempate dir

Andrew Swistak 8 éve
szülő
commit
3a02e474e7
1 módosított fájl, 7 hozzáadás és 0 törlés
  1. 7 0
      git_template/hooks/prepare-commit-msg

+ 7 - 0
git_template/hooks/prepare-commit-msg

@@ -0,0 +1,7 @@
+#!/bin/sh
+
+echo "# Log:" >> "$1"
+
+git lol -n 3 | while read line; do
+  echo "# $line" >> $1
+done