1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 09:42:07 +02:00
tldr/pages.it/common/git-show.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

812 B

git show

Mostra vari tipi di oggetti git (commit, tag, etc.). Maggiori informazioni: https://git-scm.com/docs/git-show.

  • Mostra informazioni sull'ultimo commit (hash, messaggio, modifiche, ed altri metadati):

git show

  • Mostra informazioni su un dato commit:

git show {{commit}}

  • Mostra informazioni sul commit associato ad un tag specifico:

git show {{tag}}

  • Mostra informazioni sul terzo commit dalla cima del ramo:

git show {{ramo}}~{{3}}

  • Mostra il messaggio di commit su linea singola, senza mostrare il diff:

git show --oneline -s {{commit}}

  • Mostra solo la lista dei file modificati in un commit:

git show --stat {{commit}}

  • Mostra il contenuto di un file ad una data revisione (ad esempio, in un ramo, tag o commit):

git show {{revisione}}:{{percorso/al/file}}