I tried to revert the latest commit but unable to everytime it throws error. I feel like revert was correct bu it throws error.
The task is to revert repo HEAD to last commit.. So git revert HEAD with the
required commit message should resolve this.
For future tasks, feel free to refer to my repository if you encounter any issues. If you find it helpful, please consider leaving a star.




