I deploy the code in one of my server with according to this tutorial:
How To Set Up Automatic Deployment with Git with a VPS
But now i have problems with some commit pushed to deploy server, some times the code inside of the githooks, make that make some test, this test fail, and i need revert the code when this happend, ideally this must be automatic, but just now i dont have problems making this rever to a specific commit mannually...
How i can revert the last push or push this server (based in git-bare) into a specific commit?