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?
git reset --hard HEAD~1
git commit -m "reset to last working commit"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With