Skip to content

Instantly share code, notes, and snippets.

@cacrespo
Last active October 27, 2021 01:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cacrespo/1fe8899f61bb93406ab485cb34b46e09 to your computer and use it in GitHub Desktop.
Save cacrespo/1fe8899f61bb93406ab485cb34b46e09 to your computer and use it in GitHub Desktop.
How to add commits to someone else's pull request
# Añadimos repositorio como remoto
git remote add NOMBRE https://github.com/XXX/xxx.git
# Nos traemos los cambios de ese remoto
git fetch NOMBRE
# Crear rama local a partir de la rama en cuestión
git checkout -b nombre_rama NOMBRE/xxxx_rama
# Hacemos cambios y después pusheamos
git push NOMBRE HEAD:xxxx_rama
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment