Skip to content
Discussion options

You must be logged in to vote

Hey, thanks for the question, and I'm sorry you're having trouble.

I think the short version of my answer below is that you should check whether you have a .gitattributes file in your repository and if it has filter=lfs lines for all the file patterns you expect to be treated as Git LFS files. Without those in place, recent versions of the git lfs pull command will not find Git LFS files and fetch their objects.

If you do have a .gitattributes in your branch's HEAD, you could use the git check-attr command to see if a file you expect to be a Git LFS file actually matches a filter=lfs attribute. Here's a quick example of what that should look like, with a single filter=lfs pattern for *.bin

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by SnapperTT
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
attributes Related to attribute handling
2 participants