A

Admin • 828.03K Points
Coach

Q. Which command creates and switches to a new branch in one step?

  • (A) git branch new
  • (B) git checkout new
  • (C) git checkout -b new
  • (D) git switch new
  • Correct Answer - Option(C)
  • Views: 1
  • Filed under category Git
  • Hashtags:

Explanation by: Admin
git checkout -b creates a new branch and switches to it.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.