|
|
## Checkout a merge-request from another developer
|
|
|
|
|
|
At the top of the merge request you will find this information:
|
|
|
|
|
|
```
|
|
|
Request to merge endJunction:TH2M_HM_fully_saturated_test into master
|
|
|
|
|
|
^ ^
|
|
|
| |
|
|
|
GitLab username branch name
|
|
|
```
|
|
|
|
|
|
Add the other developers (`endjunction`) repository as a new remote (with the name `dn`):
|
|
|
```sh
|
|
|
git remote add dn https://gitlab.opengeosys.org/endJunction/ogs.git
|
|
|
```
|
|
|
|
|
|
Fetch from the new remote:
|
|
|
```sh
|
|
|
git fetch dn
|
|
|
```
|
|
|
|
|
|
Checkout some branch from the remote:
|
|
|
```sh
|
|
|
git checkout TH2M_HM_fully_saturated_test
|
|
|
```
|
|
|
|
|
|
## Reset branch to remote branch
|
|
|
|
|
|
To check out the current remote
|
|
|
```sh
|
|
|
git checkout origin/ReinsertEarClipping
|
... | ... | |