I was trying out Glitch with my git project, but I ran into a problem that after the git clone my workspace doesn’t have the Git Large File Extension (LFS) installed. Is there a way to checkout my Git LFS files?
My project https://glitch.com/~darthwalsh-austerity looks like this (Click
New Game, click
All my image files show up broken, because LFS isn’t installed and the images files are just text pointers:
$ cat client/cards/Bank.jpg version https://git-lfs.github.com/spec/v1 oid sha256:2674ca480c4582b59fc67e7489da8aa1bd681ec86767ecc0f7d822656815044c size 23724
Manually trying to checkout LFS files shows LFS isn’t installed.
$ git lfs fetch git: 'lfs' is not a git command. See 'git --help'. Did you mean this? log
I was being optimistic and tried to manually install git-lfs, but I didn’t expect this to work:
$ apt-get install git-lfs E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
Does Glitch support Git LFS files?
As a workaround I could manually download the files to my glitch file system, or stop using Git LFS in my projects, but neither of these seem like great options.