From acc31ea1d0be7dcf0f8c7197fc6e74789e66b49c Mon Sep 17 00:00:00 2001 From: Dave Dykstra <2129743+DrDaveD@users.noreply.github.com> Date: Tue, 18 Jul 2023 17:13:36 -0500 Subject: [PATCH] update the submodule instructions Signed-off-by: Dave Dykstra <2129743+DrDaveD@users.noreply.github.com> --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9d397759..e4399179 100755 --- a/README.md +++ b/README.md @@ -212,10 +212,12 @@ the new version of Apptainer, you'll have to update the submodule. To do this, just run: ```bash -git submodule update --remote --merge -git add vendor/src/github.com/apptainer/apptainer -git commit +git submodule deinit -f . +git submodule update --init +cd apptainer_source +git checkout main +cd .. ``` -This will update the Apptainer submodule to the latest version of the master -branch. +This will update the Apptainer submodule to the latest version of the +main branch.