From 4b597ca2d83fc27d6858913de09c910e692f25e3 Mon Sep 17 00:00:00 2001 From: Bryan Joshua Pedini Date: Sat, 17 Aug 2024 01:32:01 +0200 Subject: [PATCH] prep target in makefile now updates the submodules --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 7ee82c5..eb40116 100644 --- a/makefile +++ b/makefile @@ -3,7 +3,7 @@ default: build prep: - git submodule update --init --recursive + git submodule foreach --recursive bash -c "git checkout $$(git remote show origin | grep HEAD | sed 's/.*\: //'); git pull" build: prep hugo