1GIT-LFS-LS-FILES(1) General Commands Manual GIT-LFS-LS-FILES(1)
2
3
4
6 git-lfs-ls-files - Show information about Git LFS files in the index
7 and working tree
8
10 git lfs ls-files [ref]
11 git lfs ls-files ref ref
12
14 Display paths of Git LFS files that are found in the tree at the given
15 reference. If no reference is given, scan the currently checked-out
16 branch. If two references are given, the LFS files that are modified
17 between the two references are shown; deletions are not listed.
18
19 An asterisk (*) after the OID indicates a full object, a minus (-) in‐
20 dicates an LFS pointer.
21
23 -l --long
24 Show the entire 64 character OID, instead of just first 10.
25
26 -s --size
27 Show the size of the LFS object between parenthesis at the end
28 of a line.
29
30 -d --debug
31 Show as much information as possible about a LFS file. This is
32 intended for manual inspection; the exact format may change at
33 any time.
34
35 -a --all
36 Inspects the full history of the repository, not the current
37 HEAD (or other provided reference). This will include previous
38 versions of LFS objects that are no longer found in the current
39 tree.
40
41 --deleted
42 Shows the full history of the given reference, including objects
43 that have been deleted.
44
45 -I paths --include=paths
46 Include paths matching only these patterns; see [FETCH SET‐
47 TINGS].
48
49 -X paths --exclude=paths
50 Exclude paths matching any of these patterns; see [FETCH SET‐
51 TINGS].
52
53 -n --name-only
54 Show only the lfs tracked file names. ## SEE ALSO
55
56 git-lfs-status(1), git-lfs-config(5).
57
58 Part of the git-lfs(1) suite.
59
60
61
62 February 2022 GIT-LFS-LS-FILES(1)