oh-my-git/levels/it_IT/tags/remove-tag

54 lines
746 B
Plaintext
Raw Normal View History

2021-09-13 17:54:39 +02:00
title = Rimuovere etichette
2021-01-05 13:15:05 +01:00
cards = checkout commit-auto merge reset-hard
[description]
2021-09-13 17:54:39 +02:00
Hai aggiunto molte ectichette? Non c'è problema! Cancellali con
2021-01-05 13:15:05 +01:00
git tag -d <tag-name>
2021-09-13 17:54:39 +02:00
Rimuovi tutti i tag in questo repository!
2021-01-05 13:15:05 +01:00
---
tipp1
---
tipp2
---
tipp3
[setup]
2021-09-13 17:54:39 +02:00
echo "event 1" > elenco-caratteristiche
2021-01-05 13:15:05 +01:00
git add .
2021-09-13 17:54:39 +02:00
git commit -m "Aggiunta caratteristica 1"
2021-01-05 13:15:05 +01:00
2021-09-13 17:54:39 +02:00
echo "event 2" >> elenco-caratteristiche
2021-01-05 13:15:05 +01:00
git add .
2021-09-13 17:54:39 +02:00
git commit -m "Aggiunta caratteristica 2"
2021-01-05 13:15:05 +01:00
2021-09-13 17:54:39 +02:00
echo "event 3" >> elenco-caratteristiche
2021-01-05 13:15:05 +01:00
git add .
2021-09-13 17:54:39 +02:00
git commit -m "Aggiunta caratteristica 3"
2021-01-05 13:15:05 +01:00
git tag v1 HEAD~2
git tag v2 HEAD~1
git tag v3
git checkout --detach main
[win]
2021-09-13 17:54:39 +02:00
# Hai riosso tutte le etichette?
2021-01-05 13:15:05 +01:00
test "$(git tag -l | wc -l)" -eq 0
[actions]
[congrats]
2021-09-13 17:54:39 +02:00
Molto bene :)