The correct answer is A. git reset --hard f414f31.
This command will reset the current branch to the specified commit (in this case f414f31), discarding all changes made since that commit. The --hard option tells Git to reset both the index and the working directory to match the specified commit.
This section is not available anymore. Please use the main Exam Page.350-901 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
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.
tartarus23
6 months, 2 weeks agorajesh034
1 year, 7 months agoduracell
1 year, 10 months agolente_kriebels
2 years, 2 months ago