... | ... | @@ -3,7 +3,7 @@ |
|
|
# OpenFOAM repositories
|
|
|
|
|
|
OpenFOAM repositories are hosted at the https://develop.openfoam.com webpage.
|
|
|
Many are public-access and can be downloaded or cloned directly;
|
|
|
Many are **public-access** and can be downloaded or cloned directly;
|
|
|
to access other internal repositories and take advantage of advanced
|
|
|
features (such as reporting issues), users must create an account.
|
|
|
|
... | ... | @@ -76,9 +76,9 @@ git clone https://develop.openfoam.com/Development/openfoam.git |
|
|
```
|
|
|
git clone -b <branch name> <address of git> <name of resulting directory>
|
|
|
```
|
|
|
e.g. to clone the _develop_ branch to your local openfoam-com.develop directory via HTTPS:
|
|
|
e.g. to clone the _develop_ branch to your local `OpenFOAM-com` directory via HTTPS:
|
|
|
```
|
|
|
git clone -b develop https://develop.openfoam.com/Development/openfoam.git openfoam-com.develop
|
|
|
git clone -b develop https://develop.openfoam.com/Development/openfoam.git OpenFOAM-com
|
|
|
```
|
|
|
|
|
|
- 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/tree/master/modules) directory:
|
... | ... | @@ -119,6 +119,12 @@ git submodule update |
|
|
```
|
|
|
- Note: if you experience merge conflicts during the pull due to your own local code changes, you will need to resolve them manually/reset the state of your repository and re-pull
|
|
|
|
|
|
Quite often it can be useful to monitor changes without actually
|
|
|
updating your local files:
|
|
|
```
|
|
|
git fetch
|
|
|
```
|
|
|
|
|
|
|
|
|
## Registration
|
|
|
|
... | ... | |