From f28cd482822e2d35d3e56e547cfc187fdbec6a8a Mon Sep 17 00:00:00 2001 From: "jp.av.dev" Date: Mon, 10 Aug 2020 00:56:22 -0400 Subject: [PATCH] Fork --- Workflows-y-acciones-colaborativas.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Workflows-y-acciones-colaborativas.md b/Workflows-y-acciones-colaborativas.md index 45c6d44..df7d5e6 100644 --- a/Workflows-y-acciones-colaborativas.md +++ b/Workflows-y-acciones-colaborativas.md @@ -70,6 +70,24 @@ git push origin master ``` ----- +### Fork +Para trabajar con proyectos de terceros **actualizar siempre** el +repositorio local con el principal, antes de hacer o subir cambios. + +``` +# git clone [ssh o HTTPS] +git remote add origin [ssh o HTTPS] +git remote add upstream + +git fetch upstream +git merge origin/upstream + +git fetch origin +git merge origin/master + +git push origin master +``` + **Ir a:** *[Repositorio](https://gitea.kickto.net/jp.av.dev/basicos_git#user-content-wiki)*, *[Basicos Git](https://gitea.kickto.net/jp.av.dev/basicos_git/wiki/Comandos-Basicos-Git#user-content-hoja-de-comandos-basicos-git)* \ No newline at end of file