mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 08:22:08 +02:00
git-submodule: add Spanish translation
This commit is contained in:
parent
260509cb5f
commit
d8b5cda23e
1 changed files with 20 additions and 0 deletions
20
pages.es/common/git-submodule.md
Normal file
20
pages.es/common/git-submodule.md
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# git submodule
|
||||||
|
|
||||||
|
> Inspecciona, actualiza y gestiona los submódulos.
|
||||||
|
> Más información: <https://git-scm.com/docs/git-submodule>.
|
||||||
|
|
||||||
|
- Instala los submódulos específicos de un repositorio:
|
||||||
|
|
||||||
|
`git submodule update --init --recursive`
|
||||||
|
|
||||||
|
- Añade un repositorio como un submódulo:
|
||||||
|
|
||||||
|
`git submodule add {{url_del_repositorio}}`
|
||||||
|
|
||||||
|
- Añade un repositorio git como submulo en un directorio específico:
|
||||||
|
|
||||||
|
`git submodule add {{url_del_repositorio}} {{ruta/al/directorio}}`
|
||||||
|
|
||||||
|
- Actualiza cada submódulo a su último commit:
|
||||||
|
|
||||||
|
`git submodule foreach git pull`
|
Loading…
Add table
Reference in a new issue