Git - TaggingWhy is it recommended to use annotated tags instead of lightweight tags for releases?AAnnotated tags store extra metadata like tagger info and messageBLightweight tags cannot point to commitsCAnnotated tags are faster to createDLightweight tags are automatically deleted after pushCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand annotated vs lightweight tagsAnnotated tags store metadata such as tagger name, date, and a message, while lightweight tags are just pointers.Step 2: Reason why annotated tags are preferred for releasesExtra metadata helps track release info and history, making annotated tags better for official releases.Final Answer:Annotated tags store extra metadata like tagger info and message -> Option AQuick Check:Annotated tags = metadata for releases [OK]Quick Trick: Use annotated tags for releases to keep metadata [OK]Common Mistakes:Thinking lightweight tags cannot point to commitsBelieving annotated tags are slowerAssuming lightweight tags auto-delete
Master "Tagging" in Git9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Git Quizzes Cherry-Pick and Advanced Merging - Octopus merge for multiple branches - Quiz 5medium Cherry-Pick and Advanced Merging - Octopus merge for multiple branches - Quiz 4medium Collaboration Workflows - Feature branch workflow - Quiz 8hard Collaboration Workflows - Why workflow agreement matters - Quiz 5medium Rebasing - Reordering commits - Quiz 14medium Rebasing - Rebase vs merge mental model - Quiz 3easy Rebasing - Rebase vs merge mental model - Quiz 9hard Remote Repositories - Fetch vs pull difference - Quiz 7medium Remote Repositories - Fetch vs pull difference - Quiz 8hard Stashing - Dropping and clearing stashes - Quiz 7medium