I am working on a project in android studio and would like to revert to a previous push. I attempted
VCS => Git => Reset Head (Hard)
but my project in Android Studio is
Open the Version Control Panel using alt + 9
and click on Log. This should show a list of commits. Right click on the commit you want to revert to and select Reset Current Branch to Here
. This should bring up a list of options to keep or discard changes when reverting. Select Hard
to discard any current changes and click Reset.