Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does fetch support git-lfs? #94

Open
Celthi opened this issue Mar 27, 2021 · 4 comments
Open

Does fetch support git-lfs? #94

Celthi opened this issue Mar 27, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@Celthi
Copy link

Celthi commented Mar 27, 2021

Some large files in github are used git-lfs and will the fetch download those files with the real content instead of the pointer file?

@brikis98
Copy link
Member

I'm not sure! We haven't tried it with Git LFS. My guess is that, as fetch calls git clone, it'll probably "just work," but if you have a chance to try it, let us know!

@Celthi
Copy link
Author

Celthi commented Mar 30, 2021

@brikis98
I had a try and it does not work. The file downloaded is the pointer file like

version https://git-lfs.github.com/spec/v1
oid sha256:**
size 278593866

The git-lfs will need another authentication according to the API.

@brikis98 brikis98 added enhancement New feature or request help wanted and removed question labels Mar 30, 2021
@brikis98
Copy link
Member

Ah, bummer. Well, PRs to add support are welcome.

@Celthi
Copy link
Author

Celthi commented Apr 6, 2021

I would like to make this enhancement but it will take some tme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants