aboutsummaryrefslogtreecommitdiff
path: root/utils/hooks/post-commit
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2025-01-24 20:01:31 -0600
committerChristian Cleberg <hello@cleberg.net>2025-01-24 20:01:31 -0600
commitbb869fd707b26ae1e8abd551c00d9a31d2189309 (patch)
treeb9164f09c21ecfbabb76e6a8dcac5f3218aa2719 /utils/hooks/post-commit
parent6939544bd4c619eb815e50be85d72895a8f75044 (diff)
downloadcleberg.net-bb869fd707b26ae1e8abd551c00d9a31d2189309.tar.gz
cleberg.net-bb869fd707b26ae1e8abd551c00d9a31d2189309.tar.bz2
cleberg.net-bb869fd707b26ae1e8abd551c00d9a31d2189309.zip
add git hooks
Diffstat (limited to 'utils/hooks/post-commit')
-rw-r--r--utils/hooks/post-commit4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/hooks/post-commit b/utils/hooks/post-commit
new file mode 100644
index 0000000..d950da6
--- /dev/null
+++ b/utils/hooks/post-commit
@@ -0,0 +1,4 @@
+# .git/hooks/post-commit
+#!/bin/bash
+echo "Commit added:"
+git show --stat