tldr/pages.it/common/git-tag.md
Guido Lena Cota d8f628d005
git*: add Italian translation (#4737)
* git-send-email: add it translation

* git-shortlog: add it translation

* git-show-branch: add it translation

* git-show-ref: add it translation

* git-show: add it translation

* git-svn: add it translation

* git-sizer: add it translation

* git-stage: add it translation

* git-status: add it translation

* git-stash: add it translation

* git-submodule: add it translation

* git-subtree: add it translation

* git-switch: add it translation

* git-tag: add it translation

* git-update-ref: add it translation

* git-worktree: add it translation

* Use snake case for tokens
2020-11-03 08:49:29 +01:00

702 B

git tag

Crea, elenca, cancella o verifica tag. Un tag è un riferimento statico a uno specifico commit. Maggiori informazioni: https://git-scm.com/docs/git-tag.

  • Mostra tutti i tag:

git tag

  • Crea un tag con un nome, puntandolo al commit corrente:

git tag {{nome_tag}}

  • Crea un tag con un nome, puntandolo ad un dato commit:

git tag {{nome_tag}} {{commit}}

  • Crea un tag annotandolo con un messaggio:

git tag {{nome_tag}} -m {{messaggio_tag}}

  • Cancella un tag, dato il suo nome:

git tag -d {{nome_tag}}

  • Scarica tag aggiornati da upstream:

git fetch --tags

  • Mostra tutti i tag i cui predecessori includono uno specifico commit:

git tag --contains {{commit}}