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

后端 未结 6 1830
春和景丽
春和景丽 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:08

    Android Studio -> Version Control -> Select your commit -> Right panel -> Select you want to be reverted file.

    Then you can get the new reverted change, commit -> done.

提交回复
热议问题