Implementing Automation for Cisco Enterprise Solutions (ENAUTO) — Question 126
A developer must move all the files in the plugins directory to the local Git staging area. Which Git command must be used to perform this task?
Answer options
- A. git track plugins/
- B. git commit plugins/*
- C. git branch plugins/
- D. git add plugins/*
Correct answer: D
Explanation
The correct command is 'git add plugins/*', which stages the specified files for the next commit. The other options are incorrect because 'git track' is not a valid command, 'git commit' is used to save changes, and 'git branch' is for managing branches, not staging files.