Reputation: 137
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?
Upvotes: 3
Views: 156
Reputation: 440
git reset --hard HEAD~1
git commit -m "reset to last working commit"
Upvotes: 1