aboutsummaryrefslogtreecommitdiff
path: root/autogpts/autogpt/hooks/post-rewrite
diff options
context:
space:
mode:
Diffstat (limited to 'autogpts/autogpt/hooks/post-rewrite')
-rw-r--r--autogpts/autogpt/hooks/post-rewrite4
1 files changed, 4 insertions, 0 deletions
diff --git a/autogpts/autogpt/hooks/post-rewrite b/autogpts/autogpt/hooks/post-rewrite
new file mode 100644
index 000000000..13304744e
--- /dev/null
+++ b/autogpts/autogpt/hooks/post-rewrite
@@ -0,0 +1,4 @@
+#!/bin/sh
+case "$1" in
+ rebase) git submodule update --init --recursive ;;
+esac