From 60eceb47aa12c1c451ac7646880c11ae0afa83df Mon Sep 17 00:00:00 2001 From: SergeantAcoustic Date: Sun, 24 Aug 2025 21:44:42 +0000 Subject: [PATCH] Update README.md Created more accurate submodule updating instructions --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0d84089..d9dfff1 100644 --- a/README.md +++ b/README.md @@ -17,9 +17,12 @@ When pulling, include the submodule with `git pull --recurse-submodules` ## Updating submodule upstream To update the embedded submodule to the latest available version: -1. Run `git submodule init` once to initialise it +1. If you cloned without `--recurse-submodules` run `git submodule update --init` 2. Run `git submodule update --remote` to update it -3. Commit as usual (e.g. `git commit -m "Updated submodule"`) +3. Stage the submodule's new pointer (e.g. `git add overrides/global_packs/required_data/mc_rebalance`) +4. Commit as usual (e.g. `git commit -m "Updated submodule"`) +5. `git push` ## Exporting To create a release, run [export-pack.sh](export-pack.sh). It will be generated in [release/Tinker's tinkering.mrpack](Tinker's%20tinkering.mrpack) +