get the commit ID you want to copy.
checkout or create new branch to which you want to copy
git checkout -b new_branch
copy the commit to current branch checked out.
git cherry-pick <commit_id>
push the branch
git push origin new_branch
Reference: stackoverflow
No comments:
Post a Comment