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

Update 2 files

- /external/contribute/supersede/img/img5.png
- /external/contribute/supersede/supersede.md
parent cfa8e8d7
No related branches found
Tags v5.9.0
No related merge requests found
external/contribute/supersede/img/img5.png

2.83 KiB

...@@ -25,6 +25,25 @@ In some cases, it might be useful to move the Merge Request of a branch opened b ...@@ -25,6 +25,25 @@ In some cases, it might be useful to move the Merge Request of a branch opened b
4. If not done yet, configure the git mr command by following those [instructions](https://docs.gitlab.com/ee/user/project/merge_requests/reviews/#checkout-locally-by-adding-a-git-alias). 4. If not done yet, configure the git mr command by following those [instructions](https://docs.gitlab.com/ee/user/project/merge_requests/reviews/#checkout-locally-by-adding-a-git-alias).
4.1 Open *Git Bash*
4.2 Type *vim ~/.gitconfig* - *Enter*
4.3 Type *i*
4.4 Type
[alias]
mr = !sh -c 'git fetch $1 merge-requests/$2/head:mr-$1-$2 && git checkout mr-$1-$2' -
<div align="center">
<img src="img/img5.png" width="700">
</div>
4.5 Type *:wq*
5. In the *Terminal window*, type *git remote add upstream [paste the SSH Key]*. 5. 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. You can copy the SSH key of the repository by clicking on Clone - copy on the repository page.
......
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