Browse Source

Add git_tempate dir

Andrew Swistak 8 năm trước cách đây
mục cha
commit
3a02e474e7
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  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