From 1773c9fd826c445f81dadfdbd7ed8359c91df750 Mon Sep 17 00:00:00 2001 From: woodser Date: Sat, 14 Sep 2024 10:40:12 -0400 Subject: [PATCH] preserve branches on submodule update --- bin/update_submodules.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/bin/update_submodules.sh b/bin/update_submodules.sh index 9108ee1b..683461f7 100755 --- a/bin/update_submodules.sh +++ b/bin/update_submodules.sh @@ -1,10 +1,4 @@ #!/usr/bin/env bash # initialize submodules recursively -git submodule update --init --force --recursive - -# update monero-project -cd ./external/monero-project -git checkout master -git pull --ff-only origin master -cd ../../ \ No newline at end of file +git submodule update --init --recursive \ No newline at end of file