Command
Explanation
git revert is used to create a new commit that undoes changes. It creates a new commit that undoes the changes.
Examples
Revert specific commit
Revert last commit
git revert is used to create a new commit that undoes changes. It creates a new commit that undoes the changes.
Revert specific commit
Revert last commit