Skip to content

Instantly share code, notes, and snippets.

@seLain
Created August 7, 2018 14:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seLain/92938d7eb4e122502f005b34d51abe1b to your computer and use it in GitHub Desktop.
Save seLain/92938d7eb4e122502f005b34d51abe1b to your computer and use it in GitHub Desktop.
Create PR with specific commit
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