git revert command code example
Example 1: revert commit git
git revert <commit hash>
Example 2: revert commit git
$ git log --oneline
9ef9173 File with one line
git revert <commit hash>
$ git log --oneline
9ef9173 File with one line