Skip to content

Instantly share code, notes, and snippets.

@nyrahul
Created May 20, 2022 17:01
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 nyrahul/3ad59a48508fc3ce60a1fa0442c8fbe5 to your computer and use it in GitHub Desktop.
Save nyrahul/3ad59a48508fc3ce60a1fa0442c8fbe5 to your computer and use it in GitHub Desktop.
cherry pick from remote branch and raise PR
git fetch upstream
git checkout -b v0.3-backport remotes/upstream/v0.3
git cherry-pick <commit-hash> #Note that you should not pick merge hash
git push origin v0.3-backport
# Raise a PR from origin/v0.3-backport to upstream/v0.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment