| 1 |
= git-lfs-ls-files(1) |
| 2 |
|
| 3 |
== NAME |
| 4 |
|
| 5 |
git-lfs-ls-files - Show information about Git LFS files in the index and working tree |
| 6 |
|
| 7 |
== SYNOPSIS |
| 8 |
|
| 9 |
[source,role=synopsis,subs="verbatim,quotes"] |
| 10 |
---- |
| 11 |
*git lfs ls-files* [_<ref>_] |
| 12 |
*git lfs ls-files* _<ref> <ref>_ |
| 13 |
---- |
| 14 |
|
| 15 |
== DESCRIPTION |
| 16 |
|
| 17 |
Display paths of Git LFS files that are found in the tree at the given |
| 18 |
reference. If no reference is given, scan the currently checked-out |
| 19 |
branch. If two references are given, the LFS files that are modified |
| 20 |
between the two references are shown; deletions are not listed. |
| 21 |
|
| 22 |
An asterisk (*) after the OID indicates a full object, a minus (-) |
| 23 |
indicates an LFS pointer. |
| 24 |
|
| 25 |
== OPTIONS |
| 26 |
|
| 27 |
`-l`:: |
| 28 |
`--long`:: |
| 29 |
Show the entire 64 character OID, instead of just first 10. |
| 30 |
`-s`:: |
| 31 |
`--size`:: |
| 32 |
Show the size of the LFS object between parenthesis at the end of a line. |
| 33 |
`-d`:: |
| 34 |
`--debug`:: |
| 35 |
Show as much information as possible about a LFS file. This is intended for |
| 36 |
manual inspection; the exact format may change at any time. |
| 37 |
`-a`:: |
| 38 |
`--all`:: |
| 39 |
Inspects the full history of the repository, not the current HEAD (or other |
| 40 |
provided reference). This will include previous versions of LFS objects that |
| 41 |
are no longer found in the current tree. |
| 42 |
`--deleted`:: |
| 43 |
Shows the full history of the given reference, including objects that have |
| 44 |
been deleted. |
| 45 |
`-I <paths>`:: |
| 46 |
`--include=<paths>`:: |
| 47 |
Include paths matching only these patterns; see <<_fetch_settings>>. |
| 48 |
`-X <paths>`:: |
| 49 |
`--exclude=<paths>`:: |
| 50 |
Exclude paths matching any of these patterns; see <<_fetch_settings>>. |
| 51 |
`-n`:: |
| 52 |
`--name-only`:: |
| 53 |
Show only the lfs tracked file names. |
| 54 |
`-j`:: |
| 55 |
`--json`:: |
| 56 |
Writes Git LFS file information as JSON to STDOUT, if the command exits |
| 57 |
successfully. Intended for interoperation with external tools. |
| 58 |
If `--debug` is also provided, that option takes precedence. If any |
| 59 |
of `--long`, `--size`, or `--name-only` are provided, those options will |
| 60 |
have no effect. |
| 61 |
|
| 62 |
== SEE ALSO |
| 63 |
|
| 64 |
git-lfs-status(1), git-lfs-config(5). |
| 65 |
|
| 66 |
Part of the git-lfs(1) suite. |