Quiz
Test your knowledge of undoing changes
Quiz
1
Which command can be used to find the discarded commit after we have applied git reset --hard
?
A)
$ git reset --soft
B)
$ git reflog
C)
$ git undo
D)
$ git log
Question 1 of 50 attempted
Get hands-on with 1400+ tech skills courses.