Last active
February 18, 2019 02:50
-
-
Save Kr0n0/88f41c9ee4443f5732db7e59d704e615 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Descargamos el repo principal | |
git clone ${URL_REPO_PRINCIPAL} | |
#Añadimos el primer fork | |
git remote add ${REMOTE_NAME} ${URL_REPO_FORK} | |
#Descargamos los cambios del fork | |
git fetch ${REMOTE_NAME} | |
#Vemos los cambios | |
git log ${REMOTE_NAME}/${REMOTE_BRANCH} | |
#Cherry pick del cambio que queramos | |
git cherry-pick ${ID_COMMIT} | |
#o | |
# Merge de todos los cambios | |
git merge ${REMOTE_NAME}/${REMOTE_BRANCH} | |
#Push a master | |
git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment