mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 11:26:00 +02:00
git-rev-parse: add Spanish translation
This commit is contained in:
parent
aff84ba3bb
commit
c4306c6304
1 changed files with 16 additions and 0 deletions
16
pages.es/common/git-rev-parse.md
Normal file
16
pages.es/common/git-rev-parse.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# git rev-parse
|
||||||
|
|
||||||
|
> Muestra metados relativos a revisiones específicas.
|
||||||
|
> Más información: <https://git-scm.com/docs/git-rev-parse>.
|
||||||
|
|
||||||
|
- Obtiene el hash del commit de una rama:
|
||||||
|
|
||||||
|
`git rev-parse {{nombre_de_la_rama}}`
|
||||||
|
|
||||||
|
- Obtiene el nombre de la rama actual:
|
||||||
|
|
||||||
|
`git rev-parse --abbrev-ref {{HEAD}}`
|
||||||
|
|
||||||
|
- Obtiene la ruta absoluta al directorio raíz:
|
||||||
|
|
||||||
|
`git rev-parse --show-toplevel`
|
Loading…
Add table
Reference in a new issue