git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.githooks
diff options
context:
space:
mode:
authorH. P. <coding _æ_ lirion.de> 2024-07-14 12:18:40 +0200
committerH. P. <coding _æ_ lirion.de> 2024-07-14 12:18:40 +0200
commit0854d735ac6f596205df2484c9c5793cdf259e73 (patch)
treef1f862ee5db2fbf08bb78d8fac2a8a28a6dcf693 /.githooks
parent00f87081a3ba50b48dc3cebfaa3c804e805120b0 (diff)
downloaddotfiles-0854d735ac6f596205df2484c9c5793cdf259e73.tar.bz2
+pre-commit
Diffstat (limited to '.githooks')
-rwxr-xr-x.githooks/pre-commit4
1 files changed, 4 insertions, 0 deletions
diff --git a/.githooks/pre-commit b/.githooks/pre-commit
new file mode 100755
index 0000000..2ec7e41
--- /dev/null
+++ b/.githooks/pre-commit
@@ -0,0 +1,4 @@
+#!/usr/bin/env sh
+git config --remove-section submodule.git-prompt
+printf "submodule git-prompt has been removed. After pushing, don't forget to trigger the"
+printf " post-checkout hook again.\\n"