18. Removendo a tag oops
Metas
- Remover a tag oops (limpar)
01 Remoção da tag oops
A tag oops já fez o seu trabalho. Vamos removê-la e permitir que o coletor de lixo delete o commit referenciado.
Execute:
git tag -d oops git hist --all
Resultado:
$ git tag -d oops Deleted tag 'oops' (was 45fa96b) $ git hist --all * fa3c141 2011-03-09 | Added HTML header (HEAD, v1, master) [Alexander Shvets] * 8c32287 2011-03-09 | Added standard HTML page tags (v1-beta) [Alexander Shvets] * 43628f7 2011-03-09 | Added h1 tag [Alexander Shvets] * 911e8c9 2011-03-09 | First Commit [Alexander Shvets]
A tag oops não aparecerá mais no repositório.