Created
January 24, 2012 06:41
-
-
Save jibiel/1668426 to your computer and use it in GitHub Desktop.
Submitting github pull request for only latest/certain 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
# Taken from http://stackoverflow.com/questions/5256021/submitting-github-pull-request-for-only-latest-commit | |
git remote add upstream git://github.com/rsl/stringex | |
git fetch upstream | |
git checkout -b upstream upstream/master | |
git cherry-pick *sha1* | |
git push origin upstream | |
# Then you'll see your upstream branch on github, switch to it and submit the pull request with just the changes you want. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment