Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Cisco Certified DevNet Associate (DEVASC) · Cisco
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
B is correct Possible answers: A. git -a README.md "git -a" is invalid B. git add README.md "prepares" the file "README.md" by moving it from the local workspace to the staging area (index) C. git add README.md staging same as B, but would also try to add the file "staging" to the staging area, which will result in an error if the file does not exist D. git commit README.md moves the file "README.md" directly from the local workspace to the local repository
Only B and D make sense. D does not "prepare" the file, only commits it. So answer should be B
B is correct: git add README.md then git commit -m "updated read me"