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?
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
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.
I had to switch to a different branch and push again to solve the issue
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With