From 91002429731d4fd5e52dbf5ebc589f41a051104a Mon Sep 17 00:00:00 2001 From: LegendaryGuard Date: Fri, 19 Mar 2021 20:12:34 +0000 Subject: [PATCH] Added subsection --- SMB-modpack.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/SMB-modpack.md b/SMB-modpack.md index 0cdce3e..e1e0b72 100644 --- a/SMB-modpack.md +++ b/SMB-modpack.md @@ -20,23 +20,23 @@ The submodule in the repository is used when need to update the code from '_xono It'll update the content where is in the official gamelogic development repository in your modpack repository. -*(Additionally, after done this, if you do the commit:* +Inside '_update.sh_', there is a line: -*`git status`* +`git submodule update --init --depth 100` -*`git add xonotic`* +Means that when you use '_./update.sh_' with this line, the submodule content will be downloaded in your local computer where you've cloned the modpack repository. -*`git commit -m "Update submodule xonotic test"`* +### Commit with submodule -*`git push origin master #depends what origin and what branch you're using to do your commits`* +Additionally, after done `git submodule update --remote --merge`, if you want to commit: -*)* +`git status` -Inside '_update.sh_', there is a line: +`git add xonotic` -`git submodule update --init --depth 100` +`git commit -m "Update submodule xonotic test"` -Means that when you use '_./update.sh_' with this line, the submodule content will be downloaded in your local computer where you've cloned the modpack repository. +`git push origin master #depends what origin and what branch of repository you're using to do your commits` ## ./build.sh -- 2.39.2