git rm -r --cached . && git add . && git commit -am "Remove ignored files"
- Switch to the master branch
- Run this command:
git fetch -p && git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -d
git push --delete origin YOUR_TAG_NAME
git tag -d YOUR_TAG_NAME
git fetch -p