1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 17:22:10 +02:00
tldr/pages.it/common/git-rev-parse.md
Guido Lena Cota 83ddae952d
git*: add Italian translation (#4734)
* git-prune: add it translation

* git-reflog: add it translation

* git-remote: add it translation

* git-repack: add it translation

* git-restore: add it translation

* git-rev-parse: add it translation

* git-rev-list: add it translation

* git-rm: add it translation

* git-rebase: add it translation

* git-revert: add it translation

* git-reset: add it translation

* git-replace: add it translation

* git-reset: separate file tokens

* Use correct suffix for multiple tokens

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

* Integrate updates in #4533

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>
2020-11-02 13:42:32 +01:00

16 lines
372 B
Markdown

# git rev-parse
> Mostra i metadati relativi a specifiche revisioni.
> Maggiori informazioni: <https://git-scm.com/docs/git-rev-parse>.
- Mostra l'hash del commit di un ramo:
`git rev-parse {{nome_ramo}}`
- Mostra il nome del ramo corrente:
`git rev-parse --abbrev-ref {{HEAD}}`
- Mostra il percorso assoluto della cartella di root:
`git rev-parse --show-toplevel`