Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
github pages serving the reference file instead of the actual binary #1342
I have a large file I am using git lfs to track as a part of a github.io repo. When I hit the URL to access the large file I am being served what I am assuming is the tiny reference file (134 bytes) instead of the large binary.
The file that should be the large file has the following contents:
It's strange because this was just working... it wasn't until I committed a new version of the large file to the repo that I started getting this behavior. git lfs untrack + git rm and then re-adding the file appears to get it to push, but when I try to access it I get the wrong file.
The file in question is: http://www.stacktact.com/dynamic_terrain_objects_demo/Demo.unity3d
added a commit
Jul 17, 2016
I also would like this, and it seems like this was already mentioned in #791. On a more technical level, what would be required to allow public read access to the blob tracked by git-lfs?
I assume that that is the blocker here, after that it's just a matter of writing a jekyll plugin that transforms some hrefs.
Going with that assumption, there needs to be another API that allows for creation of unauthenticated links to the blob in question. Probably a new transfer API type would be good here.
PS. While I do understand that you want to keep GitHub out of this repo, having people contact support removes the discussion, and subsequent answers, from the public. This makes it very hard to figure/find out why it doesn't work. If there is another place where a public discussion should take place, please let us know. Anyway, just some thoughts. DS.
referenced this issue
Mar 1, 2017
The workaround mentioned by @loriBranford didn't work for me, but this did:
I can't claim any great insight here, this is the path associated with the view raw link when you are in the repo looking at the file you want to access. Entering this URL in a browser generates the download file dialog box, and I was able to successfully automate a download and install in the