Skip to content

Instantly share code, notes, and snippets.

@udhos
Created September 19, 2019 13:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save udhos/1b2758466507f10fd4c12359fe7a0a31 to your computer and use it in GitHub Desktop.
Save udhos/1b2758466507f10fd4c12359fe7a0a31 to your computer and use it in GitHub Desktop.
git - pushing PR changes to WIP fork
# how to push PR changes to a work-in-progress fork?
upstream: https://github.com/exercism/go
fork: https://github.com/udhos/go
git clone https://github.com/exercism/go ;# get upstream
cd go
git remote add fork https://github.com/udhos/go
git pull fork master ;# get changes from fork
# now can push PR changes to fork normally:
# git commit ...
# git commit ...
# git push fork
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment