I accidently pulled an update from rails app on heroku which has messed up my local code.
Is there any way to undo this stuff.
I was trying to commit some changes I made locally to bitbucked, then I got the error that I need to pull and then only I can commit. When I pulled, I see that my local code is messed up.
Any way to undo the git pull heroku?