Skip to content

Support LFS include/exclude #1839

Open
Open
@alex-statsig

Description

@alex-statsig

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions