To revert to a particular commit, the command git revert ______ is used.

  • commit
  • revert
  • reset
  • restore
The correct option is "revert." When you want to revert to a particular commit in Git, you use the git revert command followed by the commit hash. This creates a new commit that undoes the changes introduced by the specified commit.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *