701-100 practice question 9 of 15

The file index.php, which is being maintained in a git repository, was changed locally and contains an error. If the error has not been committed to…

Choose your answer, then check it against the explanation.

The file index.php, which is being maintained in a git repository, was changed locally and contains an error. If the error has not been committed to the repository yet, which of the following git commands reverts the local copy of index.php to the latest committed version in the current branch?
Answer options
Question 9 of 15

Keep practicing

Take the free 701-100 practice test

Ten exam-style questions with answers and explanations, plus the exam facts and study guides.

Start the free practice test

More questions

Other 701-100 practice questions

Scroll to Top