QuestionQ71

Software Development and Design

A developer intends to create a new bugfix branch to correct a bug discovered on the release branch.

Which command accomplishes this task?

  • A git checkout -t RELEASE BUGFIX
  • B git checkout -b RELEASE BUGFIX
  • C git checkout -t BUGFIX RELEASE
  • D git checkout -b BUGFIX RELEASE
Explanation

git checkout -b <new-branch> [<start-point>] creates and checks out a new branch at the specified starting branch or commit. Thus, BUGFIX must be the new branch name and RELEASE its start point.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!