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

* 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
32 lines
812 B
Markdown
32 lines
812 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/al/file}}`
|