ian
ian

Reputation: 12251

Should git ls-files list the files being tracked by LFS (git lfs ls-files)

I'm hoping this is a simple question - will git ls-files list the files I see from running git lfs ls-files? Or, are they managed and hence listed separately.

This is the first time I've used LFS, I've an error appearing but before I dive into that I want to check some basics, and I can't find anything about this in the documentation.

Upvotes: 0

Views: 1771

Answers (1)

Saurabh P Bhandari
Saurabh P Bhandari

Reputation: 6742

Git itself treats LFS files as pointer files. So, it will list them in git ls-files if they are committed to the repository.

You can read more about pointer files here.

Upvotes: 2

Related Questions