A

Admin • 828.03K Points
Coach

Q. What does git revert do?

  • (A) Deletes a commit
  • (B) Resets commit history
  • (C) Creates a new commit that undoes changes
  • (D) Removes files permanently
  • Correct Answer - Option(C)
  • Views: 1
  • Filed under category Git
  • Hashtags:

Explanation by: Admin
git revert safely undoes changes by creating a new commit.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.