Update README.md
Created more accurate submodule updating instructions
This commit is contained in:
parent
e996c739b9
commit
60eceb47aa
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue