Assets in Git LFS have not been cloned correctly

Site: https://maestrale.netlify.app

In a recent deployment, Netlify triggered my GitHub’s bandwidth limit. After I expanded the bandwidth of the Git LFS Data Plan, it seems that Netlify is still cloning pointer files instead of the files themselves. I’m not sure if this is the issue.

If we’re cloning pointer files, it should consume little to no bandwidth as they’re very small. In any case, have you checked: Build environment variables | Netlify Docs? Speficcally:

  • GIT_LFS_ENABLED: value that is undefined by default. If set, we’ll use git lfs clone to check out your repository — otherwise we use git clone.
  • GIT_LFS_FETCH_INCLUDE: if GIT_LFS_ENABLED is set, this specifies by file extension which Git LFS files will be downloaded when cloning your repository. Any other file extensions will have only text pointer files downloaded instead of the original media files.