1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 00:42:08 +02:00

git-mv: add Spanish translation

This commit is contained in:
ivanhercaz 2020-01-17 23:02:50 +00:00 committed by Iván Hernández Cazorla
parent 996d2a5d51
commit f8d527bcea

16
pages.es/common/git-mv.md Normal file
View file

@ -0,0 +1,16 @@
# git mv
> Mueve o renombra archivos y actualiza el índice git.
> Más información: <https://git-scm.com/docs/git-mv>.
- Mueve el archivo dentro del repositorio y añade el movimiento al siguiente commit:
`git mv {{ruta/al/archivo}} {{nueva/ruta/al/archivo}}`
- Renombra un archivo y añade el renombre al siguiente commit:
`git mv {{nombre_de_archivo}} {{nuevo_nombre_de_archivo}}`
- Sobrescribir el archivo en la ruta objetivo si existe:
`git mv --force {{archivo}} {{objetivo}}`