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 8bf38f2)
$ git hist --all
* 9811d9e 2020-05-30 | Added a comment (HEAD -> master, tag: v1) [Jim Weirich]
* 3344f03 2020-05-30 | Added a default value (tag: v1-beta) [Jim Weirich]
* 3cb4c15 2020-05-30 | Using ARGV [Jim Weirich]
* dfb5614 2020-05-30 | First Commit [Jim Weirich]

The oops tag is no longer listed in the repository.