What git commands can be run to detect if the last commit was a revert?
I need to detect if the last commit was a revert commit and run some appropriate steps in a GitHub Actions workflow. I’m looking for some appropriate git commands that would help me to detect a git revert
.