Questions tagged [merge-request]
114 questions
0
votes
0 answers
GitLab Merge requests shows all commits and changes that already on the target branch
I created a Merge Request to merge my source branch (develop) to the target branch (master), with the "Squash commits" option checked. Everything was fine, but now, when I try to create the same Merge Request (merge develop -> master) I run into the…

Dmitriy Zhiganov
- 1,060
- 1
- 5
- 14
0
votes
1 answer
Count number of pipelines in a merge request in GitLab
In my .gitlab-ci.yml, I would like to give an incremental ID to every pipeline executed, but only relative to the merge request (the pipeline-ID is too large for my purposes), so the first pipeline will have a 0 (or 1, depending how I can get this…

cbuchart
- 10,847
- 9
- 53
- 93
0
votes
1 answer
Gitlab ci rule for merge request event not works as expected
I have a gitlab pipeline and I'm trying to set a rule for a merge request event, i want to fire the rule when i have a merge request and the source branch is different from main and develop. I do that in my job.
rules:
- if:…

dna
- 2,097
- 1
- 11
- 35
0
votes
1 answer
Jenkins Job is not able to generate Merge request
Our team is developing a Jenkins job using which we can create Merge/Pull request when we are merge dev branch to release branch in our repo. This job will do this task for 32 repos at once as all repos have same branch names. Version control is…

Aman35
- 39
- 1
- 5
0
votes
1 answer
Merge request approval invalidates after new push
In gitlab is there a setting that affects if an approval for an MR is invalidated after a new commit is pushed? I have seen that in some setups a new commit invalidates the approval but in others not so wondering what is the difference

Jim
- 3,845
- 3
- 22
- 47
0
votes
1 answer
Is there a way to download the merge request details and save it to a xml file?
I have a GitLab repo. I want to download all the details of the merge requests I have done in my remote repo and save it to a file which can be xml or txt or csv or anything..
Is there anyway to do this?
I am behind this for a long time and still I…

R-K
- 25
- 1
- 6
0
votes
0 answers
How to handle hotfix in GitFlow and GitLab MR's?
We use GitLab and its MRs. We use a gitflow (just without release branches). Master is our production branch and develop the current dev branch. Master and develop are protected on GitLab so any push is impossible.
My concern is about the way to…

MuyBien
- 163
- 2
- 13
0
votes
1 answer
How to review GitLab "Merge Requests" locally with WebStorm?
GitLab has VSCode extension for reviewing merge requests. I wonder if there is some way to achieve this in WebStorm?
Cheers!

Archies
- 111
- 6
0
votes
0 answers
what's the use of gitlab merge-request branches?
In gitlab, I came across one feature, where I can pull and checkout merge-request branch.
usually named like origin/merge-requests/123.
I was wondering what is the use, why would one want to checkout such branch? one can always checkout source…

finch
- 395
- 1
- 3
- 7
0
votes
1 answer
Used BFG to remove large files from repo, but missing branches
In gitlab, there were 3 branches: master, UAT and NEWCOCOAPODS. I used BFG and successfully removed 3 large files. After pushing back up to gitlab, only master is there. The output includes:
remote: To create a merge request for NEWCOCOAPODS,…

Owen Hartnett
- 5,925
- 2
- 19
- 35
0
votes
0 answers
Run Pipline AFTER merge request on master is approve in gitlab
i am trying to set up my gitlab pipline so that the pipline will not start until the merge request is accepted. when i try to define the rules it will start when the merge request is made but not when it is approved.
my try:
rules:
- if:…

Husker
- 49
- 2
- 11
0
votes
0 answers
Trigger a new pipeline on merge request creation in gitlab-ci
i have a mono repo structure and created a pipeline that only runs for specific sub folders which have changed.
Now if i change something in Context1 and the pipeline does not succeed, and then change something in Context2 and the pipeline succeeds,…

philipk
- 31
- 6
0
votes
1 answer
Delete local Branch after creating a Merge/Pull Request?
I create a local branch in git for every Feature, Fix, ... I make. After I am done I create a Merge/Pull Request on the Github/Gitlab website and another developer reviews the code. Can I securely delete the local branch after creating the MR or is…

link
- 491
- 1
- 4
- 13
0
votes
2 answers
Why Gitlab automatically merge target branch into source branch when you approve a merge request? How to disable this behaviour?
Why Gitlab automatically merge target branch into source branch when you approve a merge request? How to disable this behaviour?

murrometz
- 904
- 1
- 8
- 12
0
votes
1 answer
Add optional button to edit commit message on Gitlab merge request
Is there any way how to add some "button" to discussion on merge request to update commit message?
We are using second system to reading commit messages - in case commit message including #foo (it is optional) we will trigger some notification.
So I…

nirebam368
- 245
- 4
- 11