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 b083abb)
$ git hist --all
* 4254c94 2020-06-20 | Added a comment (HEAD -> master, tag: v1) [Jim Weirich]
* c8b3af1 2020-06-20 | Added a default value (tag: v1-beta) [Jim Weirich]
* 30c2cd4 2020-06-20 | Using ARGV [Jim Weirich]
* 4445720 2020-06-20 | First Commit [Jim Weirich]

The oops tag is no longer listed in the repository.