I accidentally pushed a couple folders to bitbucket that had .git folders in them because I cloned them using git clone.
I can't click these folders or go into them in bitbucket
what do I do to get rid of those I already used:
rm -rf .git
for those two .git folders then:
git reset --hard ^HEAD
git push
git commit -a -m "Message"
git push
I also have tried setting the commit back one but that didn't work either. there are no submodule files for these I've also moved the folders from there directory and made another push yet they still apear.