|
|
# Wiki and Git
|
|
|
|
|
|
The `cmess-releases` and the internal `cmess` GitLab repo have both a seperate Git repository for the Wiki.
|
|
|
The `cmess-releases` and the internal `cmess` GitLab repository have both a seperate Git repositories for their Wiki.
|
|
|
In order to keep them synchronized clone the Wiki from the `cmess` repository and add
|
|
|
the corresponding `cmess-releases` repo as a remote
|
|
|
|
... | ... | @@ -10,4 +10,20 @@ the corresponding `cmess-releases` repo as a remote |
|
|
|
|
|
```
|
|
|
|
|
|
Then you can push changes to both repos while only do the editing in the Wiki of the `cmess` repository.
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
|
git add <MYFILE>
|
|
|
git commit -m "MY CHANGES"
|
|
|
|
|
|
# push to `cmess` wiki repo
|
|
|
git push origin master
|
|
|
|
|
|
# push to `cmess-releases` wiki repo
|
|
|
git push cmess-releases.wiki master
|
|
|
|
|
|
```
|
|
|
|
|
|
This minimizes the effort and we do not need to maintain two wikis. |