I have the following git branch scenario:
F0---F1---Fn (feature: checked out)
/
---D0--- (dev)
When I issue the command git merge-base dev HEAD
on my local repository it returns the commit SHA for D0.
On our build server, which is a GitLab Runner for GitLab pipelines CI/CD, it clones the repository when a build is triggered. For some reason that I cannot figure out the same command on the server returns nothing.
Any idea what the issue is or what I am missing?