diff --git a/Guia_git.md b/Guia_git.md index 196f67a..4f631eb 100644 --- a/Guia_git.md +++ b/Guia_git.md @@ -62,12 +62,12 @@ git push --force origin main ------------------- -**REPOSITORIOS** +**REPOSITORIOS** +git remote add origin NUEVA_URL Agregar un nuevo remoto git remote -v Ver el remoto actual git remote set-url origin NUEVA_URL Cambiar el remoto git remote remove origin Eliminar el remoto -git remote add origin NUEVA_URL Agregar un nuevo remoto git remote add origin https://github.com/tu-usuario/tu-repositorio.git Conectar el repositorio local con GitHub git remote add origin URL_DEL_REPO AƱadir repositorio remoto (github, gitlab, etc...) git pull origin main Obtener Cambios del Repositorio Remoto (actualizar el codigo)