🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Tags, Releases and Versioning: all 15 questions

Quiz: Tags, Releases and Versioning · Question 4 of 15

git describe --tags prints v2.0.0-5-g3f9a1c2. What does the 5 mean?

git describe --tags prints v2.0.0-5-g3f9a1c2. What does the 5 mean?

  1. A.Version 5
  2. B.5 tags exist
  3. C.The current commit is 5 commits after tag v2.0.0
  4. D.5 files changed
Answer & explanation

Correct answer: The current commit is 5 commits after tag v2.0.0

The format is nearest tag, commits since it, then g plus the short commit id.

Can you get the rest right without peeking?

Take the timed Quiz: Tags, Releases and Versioning quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →