Skip to content
Snippets Groups Projects
Commit 7804a201 authored by Annegrät Daujeumont's avatar Annegrät Daujeumont
Browse files

creation supersede

parent 76b1d6c4
No related branches found
No related tags found
No related merge requests found
external/contribute/supersede/img/img1.png

132 KiB

external/contribute/supersede/img/img2.png

48.4 KiB

external/contribute/supersede/img/img3.png

115 KiB

external/contribute/supersede/img/img4.png

15.6 KiB

# Supersede a Merge Request
In some cases, it might be useful to move the Merge Request of a branch opened by someone else to your own fork.
1. Open *Visual Studio Code*.
2. Select the ***develop*** branch and synchronize it.
3. In ***Terminal***, click on ***New Terminal***.
<div align="center">
<img src="img/img1.png" width="700">
</div>
4. This step needs to be performed only the first time.
In the *Terminal window*, type *git remote add upstream [paste the SSH Key]*.
You can copy the SSH key of the repository by clicking on Clone - copy on the repository page.
<div align="center">
<img src="img/img3.png" width="700" >
</div>
<div align="center">
<img src="img/img2.png" width="300" >
</div>
5. In the *Terminal window*, type *git mr upstream [number of the merge request]*.
You are now on the branch of the merge request.
6. Push it to your fork by clicking on the cloud icone on the bottom left of your screen.
<div align="center">
<img src="img/img4.png" width="100" >
</div>
7. On GitLab, open a new Merge Request with the newly created branch.
In description, write ***Supersedes ![number of the original MR]***.
8. In the original MR, write in the description ***Superseded by ![number of the newly created MR]*** and close the MR.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment