I've just installed a new extension in magento, committed and pushed. It's on a staging branch of github. I've pulled it on my staging server using
git pull origin staging
and it just broke my website. I need to revert it back. I did
git push -f origin HEAD^:staging
git reset --hard HEAD^
git push origin staging
this removed the extension from my branch. But now when I pull this branch on server using
git pull origin staging
It says "Already up to date".
How to remove this extension from the server now ??
git reset --hard HEAD^
should have removed the last commit locally too, no? And oulling just after pushing generally generates an "Already up to date".