Everything since the commit you want to revert to will be deleted once you push again.
- Steps
- Find the commit number
git log
- Reset
git reset --hard that_commit_number
eg: git reset --hard e3263a17b4a417d79ee71b4317f10987d1b15d54
- Force Push
git push -f
This will revert the repo to the commit #e3263a17b4a417d79ee71b4317f10987d1b15d54