← 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?
- A.git tag v2.0.0
- B.git tag -a v2.0.0 -m "Release 2.0.0"
- C.git branch v2.0.0
- 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 →