What is the difference between an annotated and a lightweight Git tag?
Use annotated tags (git tag -a v2.1.0 -m "…") for releases — they carry metadata and can be signed/verified. Lightweight tags are fine as private bookmarks. CI systems typically trigger release pipelines on annotated tag pushes.
🌊 This is a free sample — 507+ more questions on DevOps Ocean
Sign in free to practice the full question bank with daily challenges, XP, streaks, duels and a global leaderboard.