While merging my stage branch to master branch for production release, I created and pushed a tag on stage branch using the following commands:
git tag base-2.0.0
git push origin --tags
Now, when I check the distance of the current commit from this tag, using the following command, it gives me correct result for stage and master branches.
git describe --tags --match base-2.0.0
However, for other branches like qa and develop, the above command shows the following result:
fatal: No tags can describe '<commit id>'.
I have already merged stage and master branches down to qa and develop branches. Can someone please suggest what is the issue and how to fix that? Any assistance will be highly appreciated.