Answers for "how to copy current branch to another branch"

13

clone from a specific branch

git clone -b <branchName> <remote_repo_url>
Posted by: Guest on November-09-2020
0

git copy file from another branch

git show commit_id:path/to/file > path/to/file
Posted by: Guest on June-16-2020

Code answers related to "how to copy current branch to another branch"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language