'git lab - Cannot Create: This merge request already exists: ["Master"]

I have force pushed with this command :

git push -f origin master

and it pushed fine but when I went to git lab for submit, my commit message was for 5 days ago (my last commit) and I've got this error:

**Cannot Create: This merge request already exists: ["Master]"**

I also need to mention that my new changes are in compare page and I can see and edit them but my commit message is for 5 days ago and when I hit submit button the above error shows up

any help? my new changes error



Solution 1:[1]

You have to close all previous open merge requests first. You can check already existing open merge requests in the github/gitlab repository where you are doing merge request

Solution 2:[2]

I use gitlab to merge?then get the error.Validate branches Cannot Create: This merge request already exists:

I just checkout the project again, and pull push the two branch to gitlab, Then solve it.

Solution 3:[3]

I had to switch to a different branch and push again to solve the issue

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Uddhav P. Gautam
Solution 2 wangyu2488
Solution 3 PKS