diff --git a/update-submodules.sh b/update-submodules.sh index 055511c2..409637fc 100644 --- a/update-submodules.sh +++ b/update-submodules.sh @@ -1,7 +1,3 @@ #!/bin/bash -git submodule foreach --recursive git checkout master -git submodule foreach --recursive git pull origin master - -git submodule foreach --recursive git checkout main -git submodule foreach --recursive git pull origin main \ No newline at end of file +git submodule update --remote --merge --recursive \ No newline at end of file