tldr/pages.it/common/git-show.md
Francesco Franchina 28c4d26221
pages.it/*: update path placeholders and "directory" translations (#9031)
- Replace "al" -> "del", "alla" -> "della", etc. in command paths
- Replace all instances of "cartella" with "directory"
- Update contributing-guides/translation-templates/common-arguments.md to
  reflect these changes

Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Marco Bonelli <marco@mebeim.net>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2022-10-20 15:26:58 +02:00

813 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/del/file}}