I did kind of a bad thing on my branch, and now it's a bit messed up.
I am developing a magento extension, and I accidentally commited some core files, and some folders similar to .idea
to github.
What I want to do now is to remove these files from git, and keep them on my local branch. I tried the following (but didn't work):
git rm -rf --cache .idea
git add -A
git commit -m "remove unnecessary files"
git push origin blog
But it had no effect.
PS: In the meantime, I did a lot of useful commits, so reverting would be ... unpleasant :)
Thank you