Challenge 1
Complete the Git command to inspect or manage tags.
git -n
Press Ctrl⌘Enter to check your answer
Create a disposable repository with at least three commits and create both lightweight and annotated tags using the V457 creation rules. List all tags, then use a pattern to isolate one naming family. Use `--points-at` on a commit that has both tag forms and use `--contains`, `--merged`, and `--no-merged` against chosen commits so that you can explain the different questions each filter answers. Inspect an annotated tag with `git show` and its listing annotation with `git tag -n`. Finally, delete one lightweight tag and one annotated tag. Before each deletion, save the resolved reference value; after deletion, verify that `refs/tags/<name>` no longer resolves. For an annotated tag, optionally inspect the saved tag-object ID immediately after deletion to demonstrate why deleting a reference is not the same as deleting an object. Perform all deletion work in the disposable repository. Success requires a written state record for each filter and deletion: the tags present before the operation, the exact question the command answers, the reference state after deletion, and—if tested—the immediate object type of a saved tag-object ID. Do not use the Foxipa source repository for destructive demonstrations.
Challenge 1
git -n
Press Ctrl⌘Enter to check your answer
Challenge 2
git -l
Press Ctrl⌘Enter to check your answer
Challenge 3
git -l "v2*"
Press Ctrl⌘Enter to check your answer
Challenge 4
git --points-at HEAD
Press Ctrl⌘Enter to check your answer