in Git by (32.2k points)

What is the git command to directly create and move to a new branch?

git checkout -b branchname

git checkout -x branchname

git checkout -c branchname

git checkout -d branchname

1 Answer

0 votes
by (20.8k points)
git checkout -b branchname

Related questions

+1 vote
asked Jul 25, 2019 in Git by SakshiSharma (32.2k points)
...