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

644 B

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}}