S

Satya • 2.31K Points
Master

Q. What does the 'git reset' command do?

  • (A) Saves changes to a new branch
  • (B) Resets your GitHub password
  • (C) Undoes commits and changes based on options
  • (D) Deletes the repository
  • Correct Answer - Option(C)
  • Views: 5
  • Filed under category GitHub
  • Hashtags:

Explanation by: Satya
'git reset' is used to undo commits or move the HEAD pointer and staging area.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.