Update documentation

This commit is contained in:
JeremyStar™ 2024-03-22 21:22:36 +01:00
parent 8a786fa24e
commit acb1485267

View file

@ -30,34 +30,30 @@ You'll need to execute all commands in your project root.
<Tabs groupId="git">
<TabItem value="direct-develop" label="Develop branch">
```bash
git clone https://git.staropensource.de/StarOpenSource/CORE.git CORE
git clone https://git.staropensource.de/StarOpenSource/CORE-distrib-git.git CORE
cd CORE
git checkout develop
rm -rf project.godot
```
</TabItem>
<TabItem value="direct-stable" label="Stable branch" default>
```bash
git clone https://git.staropensource.de/StarOpenSource/CORE.git CORE
git clone https://git.staropensource.de/StarOpenSource/CORE-distrib-git.git CORE
cd CORE
git checkout stable
rm -rf project.godot
```
</TabItem>
<TabItem value="submodule-develop" label="Develop branch (submodule)">
```bash
git submodule add https://git.staropensource.de/StarOpenSource/CORE.git CORE
git submodule add https://git.staropensource.de/StarOpenSource/CORE-distrib-git.git CORE
cd CORE
git checkout develop
rm -rf project.godot
```
</TabItem>
<TabItem value="submodule-stable" label="Stable branch (submodule)">
```bash
git submodule add https://git.staropensource.de/StarOpenSource/CORE.git CORE
git submodule add https://git.staropensource.de/StarOpenSource/CORE-distrib-git.git CORE
cd CORE
git checkout stable
rm -rf project.godot
```
</TabItem>
</Tabs>
@ -80,15 +76,17 @@ git pull
cd CORE
git pull origin develop
cd ..
git submodule update
git add CORE
git commit -m "Update CORE Framework"
```
</TabItem>
<TabItem value="submodule-stable" label="Stable branch (submodule)">
```bash
cd CORE
git pull origin develop
git pull origin stable
cd ..
git submodule update
git add CORE
git commit -m "Update CORE Framework"
```
</TabItem>
</Tabs>
@ -117,7 +115,8 @@ cd CORE
git fetch
git checkout stable
cd ..
git submodule update
git add CORE
git commit -m "Switch CORE branch from develop to stable"
```
</TabItem>
<TabItem value="submodule-stable2develop" label="Stable » Develop (submodule)">
@ -126,7 +125,8 @@ cd CORE
git fetch
git checkout develop
cd ..
git submodule update
git add CORE
git commit -m "Switch CORE branch from stable to develop"
```
</TabItem>
</Tabs>