How to revert project back to a previous commit in android studio

后端 未结 6 1838
春和景丽
春和景丽 2021-01-31 07:11

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

6条回答
  •  遇见更好的自我
    2021-01-31 08:00

    1. In android studio 4.0, go to version control -> Log.
    2. Then select the commit you want to revert to.
    3. Choose Reset current branch to here.
    4. You ll see a popup, select Hard and its done.

提交回复
热议问题