Exam 701-100 Topic 3 Question 42 Discussion
Actual exam question for Lpi's 701-100 exam
Question #: 42
Topic #: 3
Question #: 42
Topic #: 3
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 gitcommands reverts the local copy of index.phpto the latest committed version in the current branch?
Suggested Answer: B Vote an answer
Explanation/Reference:
Reference https://git-scm.com/docs/git-revert
Reference https://git-scm.com/docs/git-revert
by Goddard at Jan 09, 2026, 01:45 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).