git-mv: add Spanish translation
This commit is contained in:

committed by
Iván Hernández Cazorla

parent
996d2a5d51
commit
f8d527bcea
16
pages.es/common/git-mv.md
Normal file
16
pages.es/common/git-mv.md
Normal 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}}`
|
Reference in New Issue
Block a user