For most of our repositions, we use git describe --tagsversion numbers for printing, for example v1.0.4-14-g2414721. However, this fails if repo has no tags yet.
Is there a flag git describeor something similar that will work around this?
Borek source
share