Created
January 8, 2019 17:49
-
-
Save nicholashoule/71293b879bc88e1365579c89f95e6b1c to your computer and use it in GitHub Desktop.
Cherry pick a merge and create a pull request for the master branch
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 checkout master | |
git pull | |
git checkout -b patch/mypatch | |
git fetch origin master | |
git reset --hard origin/master | |
git cherry-pick -m 1 [commit-hash] | |
git push origin patch/mypatch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment