git-rev-parse: add Spanish translation

client-spec/clarity
ivanhercaz 2020-01-17 23:50:50 +00:00 committed by Iván Hernández Cazorla
parent aff84ba3bb
commit c4306c6304
1 changed files with 16 additions and 0 deletions

View 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`