Created
August 7, 2018 14:39
-
-
Save seLain/92938d7eb4e122502f005b34d51abe1b to your computer and use it in GitHub Desktop.
Create PR with specific commit
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
git fetch --all # or whatever to make sure your repo consistent with origin | |
git checkout -b new_branch_for_single_change upstream/master # or origin mater, dependes where's your base source | |
git cherry-pick hashcode_of_specific_commit | |
git push -u origin new_branch_for_single_change # push this new branch to origin | |
then create PR from new_branch_for_single_change branch on origin to upsteam |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment