creating copy of a branch
git checkout -b new_branch old_branch
creating copy of a branch
git checkout -b new_branch old_branch
how to make copy of branch in git
# initial state
commit 2 (65bc341) O <-- master
|
(more commits) ...
|
commit 1 (125afe4) O <-- origin/master
# run command
git push origin 125afe4:refs/heads/master-copy
# result
commit 2 (65bc341) O <-- master
|
(more commits) ...
|
commit 1 (125afe4) O <-- origin/master origin/master-copy
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us