Roll back last commit in Android Studio
<p>I updated a project in Android Studio and my friend's commit has overwritten the changes I did.</p>

<p>I did not commit my code and I want to get it back.</p>

<p>Please help me, I am badly in trouble.</p>