QuestionQ34

Network Automation Foundation

An engineer has stored source code in a Git repository and is ready to develop a new feature. The production release is in the master branch. Which commands create the new feature in a separate branch named feature and check out that new version?

Explanation

git branch feature creates a local branch named feature from the current commit, and git checkout feature switches the working tree and HEAD to that branch.

Community Discussion

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