oh-my-git/levels/it_IT/tags/add-tag
2021-09-13 17:54:39 +02:00

54 lines
847 B
Plaintext

title = Creare etichette
cards = checkout commit-auto merge reset-hard
[description]
Alcuni dei tuoi commit potrebbero essere commit speciali. Potresti aver raggiunto un traguargo o un nuovo numero di versione.
Puoi contrassegnare questo commit con un flag spegiale chiamato 'tag'.
Scrivi
git tag <tag-name>
per etichettare il tuo commit.
---
tipp1
---
tipp2
---
tipp3
[setup]
echo "event 1" > elenco-caratteristiche
git add .
git commit -m "Aggiunta caratteristica 1"
echo "event 2" >> elenco-caratteristiche
git add .
git commit -m "Aggiunta caratteristica 2"
echo "event 3" >> elenco-caratteristiche
git add .
git commit -m "Aggiunta caratteristica 3"
git checkout --detach main
[win]
# Hai creato un nuovo tag?
test "$(git tag -l | wc -l)" -ge 1
[actions]
[congrats]
Bene! Hai etichettato il tuo primo commit :)