I have a Rails app and I perform version control with github. My app became too large and git-lfs was recommended to hold my images. Now when I push to Heroku, my files will not push. How do I get around this?
Heroku specifically states they do not support LFS. Here's an effective workaround suggested on the git-lfs repo:
Try removing the
.git/hooks/pre-pushhook. However, if you keep using Git LFS, it'll re-install that hook automatically.
You could rm that file in a deploy script to make sure it happens automatically.
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