It seems githack.com does not work with git lfs. Here's a test repo (not mine) with an LFS file: https://github.com/Schoonology/git-lfs-test - the file binary.jpg is stored with LFS. If I understand how githack is supposed to work, I should be able to wget that file straight from githack.com:
wget https://raw.githack.com/Schoonology/git-lfs-test/master/binary.jpg
But that just returns the pointer file:
% head binary.jpg
version https://git-lfs.github.com/spec/v1
oid sha256:6fe2e48ef494b7855e6d8f93c59cf38d38350274e304a9ac35102d5c365ee002
size 620773
which is not good.
Downloading straight from github raw works fine:
% wget https://github.com/Schoonology/git-lfs-test/raw/master/binary.jpg
% file binary.jpg.2
binary.jpg.2: JPEG image data, JFIF standard 1.01
but downloading using raw.githubusercontent.com (which may be where githack.com is proxying from?) does not:
% wget https://raw.githubusercontent.com/Schoonology/git-lfs-test/master/binary.jpg
% file binary.jpg.3
binary.jpg.3: ASCII text
So it would appear that at this point, githack doesn't support LFS. It would be great if it could!
It seems githack.com does not work with git lfs. Here's a test repo (not mine) with an LFS file: https://github.com/Schoonology/git-lfs-test - the file
binary.jpgis stored with LFS. If I understand how githack is supposed to work, I should be able to wget that file straight from githack.com:But that just returns the pointer file:
which is not good.
Downloading straight from github raw works fine:
but downloading using
raw.githubusercontent.com(which may be where githack.com is proxying from?) does not:So it would appear that at this point, githack doesn't support LFS. It would be great if it could!