mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 21:02:08 +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>
16 lines
373 B
Markdown
16 lines
373 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 directory di root:
|
|
|
|
`git rev-parse --show-toplevel`
|