ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 164 - 350-901 discussion

Report
Export

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

Answers
A.

git reset-hard f414f31

B.

git reset checkout-hard f414f31

Answers
B.

git reset checkout-hard f414f31

C.

git reset-soft f414f31

Answers
C.

git reset-soft f414f31

D.

git checkout f414f31

Answers
D.

git checkout f414f31

Suggested answer: A

Explanation:

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

asked 10/10/2024
EMELINE LE QUENTREC
29 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first