Forked from
R3 / howto-cards LEGACY VERSION
394 commits behind the upstream repository.
-
Annegrät Daujeumont authoredAnnegrät Daujeumont authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
supersede.md 1.49 KiB
layout: page
permalink: /external/contribute/supersede/
shortcut: contribute:supersede
redirect_from:
- /cards/contribute:supersede
- /external/cards/contribute:supersede
- /contribute/supersede
- /external/external/contribute/supersede/
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.
- Open Visual Studio Code.
- Select the develop branch and synchronize it.
- In Terminal, click on New Terminal.
- 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.
-
In the Terminal window, type git mr upstream [number of the merge request].
You are now on the branch of the merge request.
-
Push it to your fork by clicking on the cloud icone on the bottom left of your screen.
-
On GitLab, open a new Merge Request with the newly created branch.
In description, write Supersedes ![number of the original MR].
-
In the original MR, write in the description Superseded by ![number of the newly created MR] and close the MR.