mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-07-23 02:40:29 +02:00
54 lines
847 B
Plaintext
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 :)
|