mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Updated page access code (markdown)
@ -20,7 +20,7 @@ One can nevigate to required branch and download the snapshot as required. Howev
|
|||||||

|

|
||||||
|
|
||||||
* 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.
|
||||||

|

|
||||||
|
|
||||||
* 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.
|
||||||

|

|
||||||
@ -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.
|
||||||

|

|
||||||
|
|
||||||
## 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.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
* 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
|
||||||
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user