Reputation: 6694
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?
Upvotes: 3
Views: 658
Reputation: 5395
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-push
hook. 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.
Upvotes: 1