Skip to content

lab 17 Remove the oops tag

Goals

Removing tag oops

The oops tag has served its purpose. Let’s remove it and allow the commits it referenced to be gapyage collected.

Execute:

git tag -d oops
git hist --all

Output:

$ git tag -d oops
Deleted tag 'oops' (was d332bac)
$ git hist --all
* 1c410c6 2023-08-21 | Add a comment (HEAD -> main, tag: v1) [Théophile Chevalier]
* 0bf384c 2023-08-21 | Display user input (tag: v1-beta) [Théophile Chevalier]
* 31c3945 2023-08-21 | Add some content [Théophile Chevalier]
* aa5d425 2023-08-21 | First Commit [Théophile Chevalier]

The oops tag is no longer listed in the repository.