Skip to content

Instantly share code, notes, and snippets.

@dbist
Created April 26, 2019 16:37
Show Gist options
  • Select an option

  • Save dbist/99c12df2eaa1aec5d64e665ec0cd4418 to your computer and use it in GitHub Desktop.

Select an option

Save dbist/99c12df2eaa1aec5d64e665ec0cd4418 to your computer and use it in GitHub Desktop.
# PR option will be against the origin and not fork
git checkout -b new-branch origin/master
git cherry-pick old-branch
git push origin new-branch
<create PR from new-branch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment