-
-
Save ranbena/9f4ab95d0905857d5af4 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
cd my-repo | |
git fetch upstream | |
git checkout --detach upstream/master | |
git pull --no-commit upstream refs/pull/<pr-id>/head | |
# local repo now has (uncommited) changes from pull request |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment