Update README.md

Created more accurate submodule updating instructions
This commit is contained in:
SergeantAcoustic 2025-08-24 21:44:42 +00:00
parent e996c739b9
commit 60eceb47aa

View file

@ -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)