1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 21:02:08 +02:00
tldr/pages.es/common/git-remote.md
Ignacio Mattos 8939f2e0eb
git-*: sync Spanish translation (#5893)
* git-config: sync Spanish translation

* git-lfs: sync Spanish translation

* git-log: sync Spanish translation

* git-remote: sync Spanish translation

* git-restore: sync Spanish translation

* git-show: sync Spanish translation

* git-status: sync Spanish translation

* git-switch: sync Spanish translation
2021-05-04 13:18:41 -04:00

28 lines
644 B
Markdown

# git remote
> Gestiona el conjunto de repositorios rastreados ("remotos").
> Más información: <https://git-scm.com/docs/git-remote>.
- Muestra una lista de los remotos existentes, sus nombres y URL:
`git remote -v`
- Muestra información de un remoto:
`git remote show {{nombre_remoto}}`
- Añade un remoto:
`git remote add {{nombre_remoto}} {{url_remoto}}`
- Cambiar la URL de un remoto (utiliza `--add` para mantener la URL existente):
`git remote set-url {{nombre_remoto}} {{nueva_url}}`
- Elimina un remoto:
`git remote remove {{nombre_remoto}}`
- Renombra un remoto:
`git remote rename {{nombre_antiguo}} {{nombre_nuevo}}`