mirror of https://github.com/CrimsonTome/tldr.git
git-rev-parse: add Spanish translation
parent
aff84ba3bb
commit
c4306c6304
|
@ -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…
Reference in New Issue