summary refs log tree commit diff stats
path: root/hooks/pre-up/submodules
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/pre-up/submodules')
-rwxr-xr-xhooks/pre-up/submodules5
1 files changed, 5 insertions, 0 deletions
diff --git a/hooks/pre-up/submodules b/hooks/pre-up/submodules
new file mode 100755
index 0000000..ae4f42f
--- /dev/null
+++ b/hooks/pre-up/submodules
@@ -0,0 +1,5 @@
+#!/usr/bin/env zsh
+echo $0:h:h:h
+pushd $0:h:h:h
+git submodule update --init
+popd
\ No newline at end of file