Debian Codegraph @

docs/man/git-lfs-smudge.adoc

raw
1 = git-lfs-smudge(1)
2
3 == NAME
4
5 git-lfs-smudge - Git smudge filter that converts pointer in blobs to the actual content
6
7 == SYNOPSIS
8
9 [source,role=synopsis,subs="verbatim,quotes"]
10 ----
11 *git lfs smudge* [_<path>_]
12 *git lfs smudge --skip* [_<path>_]
13 ----
14
15 == DESCRIPTION
16
17 Read a Git LFS pointer file from standard input and write the contents
18 of the corresponding large file to standard output. If needed, download
19 the file's contents from the Git LFS endpoint. The `<path>` argument, if
20 provided, is only used for a progress bar.
21
22 Smudge is typically run by Git's smudge filter, configured by the
23 repository's Git attributes.
24
25 In your Git configuration or in a `.lfsconfig` file, you may set either
26 or both of `lfs.fetchinclude` and `lfs.fetchexclude` to comma-separated
27 lists of paths. If `lfs.fetchinclude` is defined, Git LFS pointer files
28 will only be replaced with the contents of the corresponding Git LFS
29 object file if their path matches one in that list, and if
30 `lfs.fetchexclude` is defined, Git LFS pointer files will only be
31 replaced with the contents of the corresponding Git LFS object file if
32 their path does not match one in that list. Paths are matched using
33 wildcard matching as per gitignore(5). Git LFS pointer files that are
34 not replaced with the contents of their corresponding object files are
35 simply copied to standard output without change.
36
37 == OPTIONS
38
39 Without any options, `git lfs smudge` outputs the raw Git LFS content to
40 standard output.
41
42 `-s`::
43 `--skip`::
44 Skip automatic downloading of objects on clone or pull.
45 `GIT_LFS_SKIP_SMUDGE`::
46 Disables the smudging process. For more, see: git-lfs-config(5).
47
48 == KNOWN BUGS
49
50 On Windows, Git before 2.34.0 does not handle files in the working tree
51 larger than 4 gigabytes. Newer versions of Git, as well as Unix
52 versions, are unaffected.
53
54 == SEE ALSO
55
56 git-lfs-install(1), gitattributes(5), gitignore(5).
57
58 Part of the git-lfs(1) suite.