Exam4Training

Which Git command enables the developer to revert back to f414f31 commit to discard changes in the current working tree?

Which Git command enables the developer to revert back to f414f31 commit to discard changes in the current working tree?
A . git reset-hard f414f31
B. git reset checkout-hard f414f31
C. git reset-soft f414f31
D. git checkout f414f31

Answer: A

Explanation:

Reference: https://www.freecodecamp.org/news/the-ultimate-guide-to-git-reset-and-git-revert/

Latest 350-901 Dumps Valid Version with 169 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version