git - How can I delete ignored folder from Bitbucket? -


i need removing files git, pushed bitbucket , need remove them.

detailed explanation

i created project , git push origin master full folder. after 2 weeks did changes , want remove image folder repository (where stored images users). added path .gitignore file (/public/images/). push changes bitbucket. problem is, on bitbucket repository still folder /public/images/ , when deploy on production, there /public/images/ folder in each version. need delete bitbucket repository, , don't know how. thought when add ignore line in git, automaticaly destroyed repository.

if understood question want remove folder no longer appears in latest commit.

.gitignore cause git ignore files isn't tracking. remove need git rm.

something git rm -r /public/images should stage removal of folder can committed , pushed other change.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -