1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 01:22:09 +02:00
tldr/pages.it/common/git-describe.md
Guido Lena Cota b1a891a34a
git*: add Italian translation (#4627)
* git-archive: add italian translation

* git-bundle: add italian translation

* git-cat-file: add italian translation

* git-describe: add italian translation

* git-ignore: add italian translation

* git-instaweb: add italian translation

* git-lfs: add italian translation

* git-log: add italian translation

* git-ls-remote: add italian translation

* git-ls-tree: add italian translation
2020-10-11 00:46:17 -03:00

633 B

git describe

Rendi il nome di un oggetto git più leggibile usando i riferimenti disponibili. Maggiori informazioni: https://git-scm.com/docs/git-describe.

  • Crea un nome univoco per il commit corrente (il nome contiene i tag più recenti, il numero di commit aggiuntivi, e l'hash breve del commit):

git describe

  • Crea un nome di 4 cifre per l'hash breve del commit:

git describe --abbrev={{4}}

  • Genera un nome che includa anche il percorso di riferimento:

git describe --all

  • Descrivi un tag git:

git describe {{v1.0.0}}

  • Crea un nome per l'ultimo commit di un dato ramo:

git describe {{nome_ramo}}