mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 18:42:07 +02:00

- 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>
32 lines
813 B
Markdown
32 lines
813 B
Markdown
# 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}}`
|