Created
August 10, 2019 00:19
-
-
Save yavuztas/4d4595e32c3ed0351b64f4fac1844b99 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# only if you do not add the original repository as upstream | |
git remote add upstream https://github.com/original_github_username/original_github_repo_name.git | |
# then fetch and create a new branch for your pr | |
git fetch --all | |
git checkout -b new-branch-name-for-pr upstream/master | |
# pick the commits you want to include in your pr | |
git cherry-pick a52afa1 | |
git cherry-pick 08f39f7 | |
# last, push your new branch | |
git push -u origin new-branch-name-for-pr | |
# now you can easily select this branch and make a pull-request! | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment