1

I branched from develop while working on a project, and when I made a merge request, Gitlab is showing all the commits on branch develop, whereas I only made two commits on the branch itself. It is the same time even when I try from an entirely new branch or branch from master.

The person who is supposed to merge it has refused saying it can mess up the codebase. What can I do to resolve this?

enter image description here

torek
  • 448,244
  • 59
  • 642
  • 775
Korlahwarleh
  • 143
  • 11

1 Answers1

0

You need to check "squash commits when merge request is accepted". Then, your branch will be merged with only one commit, keeping the branch tree clean.

  • I think what made Korlahawarleh exhausted is the commits should not contain all commits. It should only contain the last several commits. – songgeb May 04 '23 at 10:12