3

I am developing an android application. While depending it crashed. Each step I made a commit to GitHub. So I want to get the commit of the last successful build of my project to the current project. How can I do that?

Lasith Jayalath
  • 137
  • 1
  • 4
  • 14

1 Answers1

1
git reset --hard HEAD~1
git commit -m "reset to last working commit"
WorkShoft
  • 440
  • 6
  • 18