Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

copy one branch to another git

git checkout <branch1name>  # <branch1name> is the new branch
git merge <branch2name>     # <branch2name> is the branch from which you want to copy
 
PREVIOUS NEXT
Tagged: #copy #branch #git
ADD COMMENT
Topic
Name
5+5 =