Answers for "git create new branch and copy master"

1

creating copy of a branch

git checkout -b new_branch old_branch
Posted by: Guest on August-03-2020
-1

copy branch to master

git checkout master.
git checkout branch_from_which_you_have_to_copy_the_files_to_master . (with period)
git add --all.
git push -u origin master.
git commit -m "copy from branch to master"
Posted by: Guest on November-26-2020

Code answers related to "git create new branch and copy master"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language