Answers for "create and checkout git branch at same time"

1

create branch and checkout at the same time in git

git checkout -b <new_branch_name> <branch_from>
#<new_branch_name> --> name of the new branch being created.
#<branch_from> --> name of the branch to branch from.
#NB: no need to provide <branch_from> if that is the active branch.
Posted by: Guest on September-05-2021

Code answers related to "create and checkout git branch at same time"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language