Predict Tag List
Predict Output Easy
Question
You run `git tag v1.0` then `git tag v1.1`. What does `git tag` show?
Code
git tag v1.0
git tag v1.1
git tag
Hint
Tags are listed in alphabetical order.
Explanation
git tag lists all tags in alphabetical order. After creating v1.0 and v1.1, it shows both. Tags are sorted alphabetically, not chronologically, so v1.10 would appear before v1.2 — use zero-padding (v01.10) or semver sorting tools if this matters.
Related Resources
Related Lessons
Related Cheatsheets
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.