200-901 · Question #425
Refer to the exhibit. A network engineer must improve the fabric discovery process in a data center. The engineer wants to check current ACI scripts in the myproject repository and clone them to a…
The correct answer is D. git clone [email protected]/myproject aci. The correct syntax for git clone with a target directory is: git clone <repository-url> <target-directory>. Option D (git clone [email protected]/myproject aci) follows this pattern correctly - the URL points to the remote repository and aci specifies the local destination folder…
Question
Refer to the exhibit. A network engineer must improve the fabric discovery process in a data center. The engineer wants to check current ACI scripts in the myproject repository and clone them to a folder named aci. The engineer will optimize the scripts from the new folder. Which command performs this task on the Git repository? A. B. C. D.
Exhibit
Options
- Agit clone [email protected]:myproject aci
- Bgit clone [email protected]:myproject:aci
- Cgit clone [email protected]/myproject -dr aci
- Dgit clone [email protected]/myproject aci
How the community answered
(48 responses)- A2% (1)
- B2% (1)
- C6% (3)
- D90% (43)
Explanation
The correct syntax for git clone with a target directory is: git clone <repository-url> <target-directory>. Option D (git clone [email protected]/myproject aci) follows this pattern correctly - the URL points to the remote repository and aci specifies the local destination folder name. Option A uses a colon (:) instead of a slash after github.com, which breaks the URL format shown. Option B places a colon before aci, making it invalid syntax. Option C uses -dr which is not a valid flag for git clone.
Topics
Community Discussion
No community discussion yet for this question.
