A

Admin • 828.03K Points
Coach

Q. Which command restores a deleted commit using reflog?

  • (A) git restore
  • (B) git checkout <hash>
  • (C) git reset <hash>
  • (D) git revert <hash>
  • Correct Answer - Option(C)
  • Views: 1
  • Filed under category Git
  • Hashtags:

Explanation by: Admin
git reset can restore commits using reflog hashes.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.