Skip to content

lab 18 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 garbage collected.

Execute:

git tag -d oops
git hist --all

Output:

$ git tag -d oops
Deleted tag 'oops' (was 8c2f695)
$ git hist --all
* 4d578d4 2019-11-01 | Added a comment (HEAD -> master, tag: v1) [Jim Weirich]
* dc1d42f 2019-11-01 | Added a default value (tag: v1-beta) [Jim Weirich]
* 9a1c494 2019-11-01 | Using ARGV [Jim Weirich]
* 063b40e 2019-11-01 | First Commit [Jim Weirich]

The oops tag is no longer listed in the repository.