GitCommand
Revert a Commit
Type this command
git revert <commit>Creates a new commit that undoes an earlier commit.
The Git command to revert a commit is git revert <commit>.
git revert <commit>git revert <commit>Creates a new commit that undoes an earlier commit.
Run git revert <commit>.
Run git revert <commit>.
Type it in the terminal or command-line interface used by Git.
Yes. The command text is the same on both platforms when the tool is installed.