Revert changes
git revert commit_hash
Creates a new commit that undoes the changes made in the specified commit. It does not delete the specified commit, but it creates a new commit that reverts the changes made in that commit.
git revert commit_hash
Creates a new commit that undoes the changes made in the specified commit. It does not delete the specified commit, but it creates a new commit that reverts the changes made in that commit.