Answers for "how to make a new branch in existing git repository"

1

git create new branch from existing branch

git checkout -b <new-branch> <existing-branch>
Posted by: Guest on March-22-2022
1

Create new git branch from existing branch

 Syntax: git branch <new-branch-name> <existing-branch-name>            
 Example: git branch newone master
 Here newone is new branch and master is existing
Posted by: Guest on August-14-2021

Code answers related to "how to make a new branch in existing git repository"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language