Browse Source

Bugfix readme.md

master
AliasAlreadyTaken 6 months ago
parent
commit
93692041a8
  1. 22
      README.md

22
README.md

@ -11,23 +11,23 @@ On Type 2 to 4 mods the "yourland" branch is the stable one. There may be featur
#### Type 1 mods can be added like this:
´´´
```
git submodule add $link-to-repo
´´´
```
#### Type 2 mods should get a yourland branch and this branch then added
´´´
```
git branch yourland
git checkout yourland
git submodule add -b yourland $link-to-repo
´´´
```
#### Type 3 mods usually have a yourland branch already, so its only this command for them
´´´
```
git submodule add -b yourland $link-to-repo
´´´
```
#### Type 4 mods require the most work
@ -40,21 +40,21 @@ git submodule add -b yourland $link-to-repo
- make the repository public unless secrets are involved
- Clone it, add a yourland branch, switch to it and let it track origin
´´´
```
git clone $fork
cd $fork
git branch yourland
git checkout yourland
git push --set-upstream origin yourland
´´´
```
3. Go to the yourland repo, add the yourland branch of the fork as a submodule
´´´
```
git submodule add -b yourland $link-to-fork
git commit -am "added $fork"
git push
´´´
```
## UPDATE a mod
@ -66,4 +66,6 @@ git push
This updates the liveserver to whats in the yourland repo
```
git submodule update --recursive --remote
```

Loading…
Cancel
Save