Answers for "copy a git branch with different commits"

0

copy commit in another branch

git checkout branch-name
git cherry-pick xyz abc qwe
git push origin branch-name
Posted by: Guest on September-07-2021
0

how to copy all branch commits to a whole new branch

git checkout old_branch
git branch new_branch
Posted by: Guest on September-07-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language