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

Which command lists only tags starting with v1.?

Which command lists only tags starting with v1.?

  1. A.git tag --grep v1
  2. B.git tag -l "v1.*"
  3. C.git log --tags v1
  4. D.git branch -l "v1.*"
Answer & explanation

Correct answer: git tag -l "v1.*"

-l with a pattern filters the tag list.

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 →