added hook to automatically update submodules after checkout

This commit is contained in:
Michael Steinert
2023-02-10 11:49:04 +01:00
committed by Robin Mueller
parent cb6a98b0d2
commit 2bfc9bc565
2 changed files with 9 additions and 0 deletions

6
hooks/post-checkout Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
#
# update submodules after checkout
git submodule init
git submodule update