Revert back to Previous version in git
- Get the REVISIONNUMBER ( Revision number ) of the previous Revision which you want the files to revert back to.
Here is how you could revert back to previous Revision in git
- git reset --hard REVISIONNUMBER
- git push --force
This will delete all yours commits made between the REVISIONNUMBER and the CURRENT Revisionnumber