🎙 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 2 of 15

Which command creates an annotated tag?

Which command creates an annotated tag?

  1. A.git tag v2.0.0
  2. B.git tag -a v2.0.0 -m "Release 2.0.0"
  3. C.git branch v2.0.0
  4. D.git commit --tag v2.0.0
Answer & explanation

Correct answer: git tag -a v2.0.0 -m "Release 2.0.0"

-a creates a tag object that records the tagger, date and message.

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 →