... | ... | @@ -37,28 +37,31 @@ Many are public-access and can be downloaded or cloned directly; to access other |
|
|
|
|
|
* To use the SSH protocol (as shown above) you need to register your public SSH key. Refer to the [Adding an SSH key](#openfoam-repositories_terminal-mode-cloning_adding-an-ssh-key) section for further information.
|
|
|
|
|
|
* Clone the default 'master' branch via SSH using
|
|
|
* Clone the default *master* branch via HTTPS using
|
|
|
```
|
|
|
git clone git@develop.openfoam.com:Development/OpenFOAM-plus.git
|
|
|
git clone https://develop.openfoam.com:Development/OpenFOAM-plus.git
|
|
|
```
|
|
|
or via HTTPS
|
|
|
or via SSH
|
|
|
```
|
|
|
git clone https://develop.openfoam.com:Development/OpenFOAM-plus.git
|
|
|
git clone git@develop.openfoam.com:Development/OpenFOAM-plus.git
|
|
|
```
|
|
|
|
|
|
* **Optional:** You may specify a target branch directly using
|
|
|
```
|
|
|
git clone -b <branch name> <address of git> <name of resulting directory>
|
|
|
```
|
|
|
e.g. to clone the 'develop' branch to your local OpenFOAM-plus.develop directory via SSH:
|
|
|
e.g. to clone the *develop* branch to your local OpenFOAM-plus.develop directory via SSH:
|
|
|
```
|
|
|
git clone -b develop git@develop.openfoam.com:Development/OpenFOAM-plus.git OpenFOAM-plus.develop
|
|
|
git clone -b develop https://develop.openfoam.com:Development/OpenFOAM-plus.git OpenFOAM-plus.develop
|
|
|
```
|
|
|
|
|
|
* Since [OpenFOAM-v1712](https://www.openfoam.com/releases/openfoam-v1712) community contributions may be included using the git submodule system. To initialise the submodules located in the [$WM_PROJECT_DIR/modules](https://develop.openfoam.com/Development/OpenFOAM-plus/tree/master/modules) directory:
|
|
|
```
|
|
|
git submodule init
|
|
|
```
|
|
|
The respective [Modules Readme](https://develop.openfoam.com/Development/OpenFOAM-plus/blob/develop/modules/README.md)
|
|
|
contains more information.
|
|
|
|
|
|
|
|
|
### Update existing snapshot
|
|
|
|
... | ... | |