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"> <Tabs groupId="git">
<TabItem value="direct-develop" label="Develop branch"> <TabItem value="direct-develop" label="Develop branch">
```bash ```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 cd CORE
git checkout develop git checkout develop
rm -rf project.godot
``` ```
</TabItem> </TabItem>
<TabItem value="direct-stable" label="Stable branch" default> <TabItem value="direct-stable" label="Stable branch" default>
```bash ```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 cd CORE
git checkout stable git checkout stable
rm -rf project.godot
``` ```
</TabItem> </TabItem>
<TabItem value="submodule-develop" label="Develop branch (submodule)"> <TabItem value="submodule-develop" label="Develop branch (submodule)">
```bash ```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 cd CORE
git checkout develop git checkout develop
rm -rf project.godot
``` ```
</TabItem> </TabItem>
<TabItem value="submodule-stable" label="Stable branch (submodule)"> <TabItem value="submodule-stable" label="Stable branch (submodule)">
```bash ```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 cd CORE
git checkout stable git checkout stable
rm -rf project.godot
``` ```
</TabItem> </TabItem>
</Tabs> </Tabs>
@ -80,15 +76,17 @@ git pull
cd CORE cd CORE
git pull origin develop git pull origin develop
cd .. cd ..
git submodule update git add CORE
git commit -m "Update CORE Framework"
``` ```
</TabItem> </TabItem>
<TabItem value="submodule-stable" label="Stable branch (submodule)"> <TabItem value="submodule-stable" label="Stable branch (submodule)">
```bash ```bash
cd CORE cd CORE
git pull origin develop git pull origin stable
cd .. cd ..
git submodule update git add CORE
git commit -m "Update CORE Framework"
``` ```
</TabItem> </TabItem>
</Tabs> </Tabs>
@ -117,7 +115,8 @@ cd CORE
git fetch git fetch
git checkout stable git checkout stable
cd .. cd ..
git submodule update git add CORE
git commit -m "Switch CORE branch from develop to stable"
``` ```
</TabItem> </TabItem>
<TabItem value="submodule-stable2develop" label="Stable » Develop (submodule)"> <TabItem value="submodule-stable2develop" label="Stable » Develop (submodule)">
@ -126,7 +125,8 @@ cd CORE
git fetch git fetch
git checkout develop git checkout develop
cd .. cd ..
git submodule update git add CORE
git commit -m "Switch CORE branch from stable to develop"
``` ```
</TabItem> </TabItem>
</Tabs> </Tabs>