I am new to Git and Gitlab and I have a question about something I do not understand, and have not found an answer to on Google or in this forum.
I have two branches, ‘dev’ and ‘master’. I develop in ‘dev’. And every time I create a merge request, I see the message ‘The source branch is x commits behind the target branch’.
Below the green ‘Merge’-button, there is a message saying ‘1 commit and 1 merge commit will be added to master’.
When I then merge ‘dev’ into ‘master’, the ‘x commits behind the target’ is incremented. Probably because of the merge-commits that are added.
Since both ‘dev’ and ‘master’ are always the same after the merge, where does this count come from and how can I get rid of cq. resolve it?
Thanks for any info!