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

Support LFS include/exclude #1839

Open
alex-statsig opened this issue Jul 29, 2024 · 1 comment
Open

Support LFS include/exclude #1839

alex-statsig opened this issue Jul 29, 2024 · 1 comment

Comments

@alex-statsig
Copy link

Currently git LFS seems to be all-or-nothing in the checkout action. Would it be possible to support include/exclude paths similar to the underlying git command (ex. https://www.atlassian.com/git/tutorials/git-lfs)? This would be valuable in monorepo setups to avoid downloading LFS files for other apps (and thus decrease LFS bandwidth usage).

From what I can tell, it seems like the lfsFetch command could fairly easily propagate some setting for lfs-exclude here

@kohtala
Copy link

kohtala commented Aug 5, 2024

I think this duplicates #165 on the bandwidth issue. The workaround there can be adjusted to include -X and -I options for git lfs pull.

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

No branches or pull requests

2 participants