| 1 |
= git-lfs-dedup(1) |
| 2 |
|
| 3 |
== NAME |
| 4 |
|
| 5 |
git-lfs-dedup - Deduplicate Git LFS files |
| 6 |
|
| 7 |
== SYNOPSIS |
| 8 |
|
| 9 |
[source,role=synopsis,subs="verbatim,quotes"] |
| 10 |
---- |
| 11 |
*git lfs dedup* |
| 12 |
---- |
| 13 |
|
| 14 |
== DESCRIPTION |
| 15 |
|
| 16 |
Deduplicates storage by re-creating working tree files as clones of the |
| 17 |
files in the Git LFS storage directory using the operating system's |
| 18 |
copy-on-write file creation functionality. |
| 19 |
|
| 20 |
If the operating system or file system don't support copy-on-write file |
| 21 |
creation, this command exits unsuccessfully. |
| 22 |
|
| 23 |
This command will also exit without success if any Git LFS extensions |
| 24 |
are configured, as these will typically be used to alter the file |
| 25 |
contents before they are written to the Git LFS storage directory, and |
| 26 |
therefore the working tree files should not be copy-on-write clones of |
| 27 |
the LFS object files. |
| 28 |
|
| 29 |
== OPTIONS |
| 30 |
|
| 31 |
`-t`:: |
| 32 |
`--test`:: |
| 33 |
Checks whether the current operating system and file system support |
| 34 |
copy-on-write file creation, without actually cloning any Git LFS files. |
| 35 |
|
| 36 |
== SEE ALSO |
| 37 |
|
| 38 |
Part of the git-lfs(1) suite. |