I removed a submodule from my code, when I try to push to heroku now, I get:
remote: Git submodules detected, installing:
remote: No submodule mapping found in .gitmodules for path 'submodule/path'
remote:
remote: ! Push rejected, submodule install failed
remote:
I am using Heroku's buildpack: https://github.com/heroku/heroku-buildpack-multi.git
With this .buildpacks
file:
https://github.com/ello/heroku-buildpack-imagemagick-cedar-14
https://github.com/heroku/heroku-buildpack-ruby.git
Is there something I can do to fix this? Do I just need to delete this app and start a new one (this is obviously very undesirable).
You can use the heroku-repo plugin to reset the repo for the app:
$ heroku plugins:install https://github.com/heroku/heroku-repo.git
$ heroku repo:reset -a APP
And then you can deploy again:
$ git push ....
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With