← Quiz: Tags, Releases and Versioning: all 15 questions
Quiz: Tags, Releases and Versioning · Question 15 of 15
Which command lists tags in correct version order, so v1.10.0 comes after v1.9.3?
Which command lists tags in correct version order, so v1.10.0 comes after v1.9.3?
- A.git tag
- B.git tag --sort=v:refname
- C.git tag --sort=date
- D.git tag -n
Answer & explanation
Correct answer: git tag --sort=v:refname
Plain git tag sorts as text, which puts v1.10.0 before v1.2.0.
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 →