... | @@ -20,7 +20,7 @@ One can nevigate to required branch and download the snapshot as required. Howev |
... | @@ -20,7 +20,7 @@ One can nevigate to required branch and download the snapshot as required. Howev |
|
![GitLab OpenFOAM project](images/KB-GL-ADV-OpenFOAM-project.png)
|
|
![GitLab OpenFOAM project](images/KB-GL-ADV-OpenFOAM-project.png)
|
|
|
|
|
|
* Options for managing notifications level, marking project in favorites (starred projects), or accessing git clone features one can see on right side of webpage as shown below. The clone feature will be discussed separately.
|
|
* Options for managing notifications level, marking project in favorites (starred projects), or accessing git clone features one can see on right side of webpage as shown below. The clone feature will be discussed separately.
|
|
![GitLab clone address](images/KB-GL-ADV-project-clone-address.png)
|
|
![GitLab clone address](images/KB-GL-ADV-project-notification.png)
|
|
|
|
|
|
* If you are looking for one-off download for any particular branch (with no git history), you could browse through required branch and select download options as shown below.
|
|
* If you are looking for one-off download for any particular branch (with no git history), you could browse through required branch and select download options as shown below.
|
|
![GitLab download options](images/KB-GL-ADV-project-download.png)
|
|
![GitLab download options](images/KB-GL-ADV-project-download.png)
|
... | @@ -28,6 +28,27 @@ One can nevigate to required branch and download the snapshot as required. Howev |
... | @@ -28,6 +28,27 @@ One can nevigate to required branch and download the snapshot as required. Howev |
|
* An alternative way to browse through selected repository (for files, branches, tags,...) is via Repository section as shown below.
|
|
* An alternative way to browse through selected repository (for files, branches, tags,...) is via Repository section as shown below.
|
|
![GitLab download options](images/KB-GL-ADV-OpenFOAM-repository-view.png)
|
|
![GitLab download options](images/KB-GL-ADV-OpenFOAM-repository-view.png)
|
|
|
|
|
|
## Compilation
|
|
## Clone a repository
|
|
|
|
|
|
|
|
* Cloning provides an easy way to synchronize with latest developments via git commands. Address for cloning is available on right hand side of "Project->Details" slider of repository as shown.
|
|
|
|
|
|
|
|
![GitLab download options](images/KB-GL-ADV-project-clone-address.png)
|
|
|
|
|
|
|
|
* As seeen in above image, you need to register your public SSH key, if you want to use SSH mode. Refer "Adding SSH key" section below.
|
|
|
|
|
|
|
|
* You can clone (the default i.e. 'master' branch) using
|
|
|
|
```
|
|
|
|
git clone git@develop.openfoam.com:Development/OpenFOAM-plus.git
|
|
|
|
```
|
|
|
|
```
|
|
|
|
git clone https://develop.openfoam.com:Development/OpenFOAM-plus.git
|
|
|
|
```
|
|
|
|
* **Optional:** You may choose to specify the required branch, resulting directory name directly using
|
|
|
|
```
|
|
|
|
git clone -b <branch name> <address of git> <name of resulting directory>
|
|
|
|
```
|
|
|
|
e.g. to clone 'develop' branch from repository into OpenFOAM-plus.develop via SSH mode you could use
|
|
|
|
```
|
|
|
|
git clone -b develop git@develop.openfoam.com:Development/OpenFOAM-plus.git OpenFOAM-plus.develop
|
|
|
|
```
|
|
|
|
|