1GIT-LFS-FSCK(1) General Commands Manual GIT-LFS-FSCK(1)
2
3
4
6 git-lfs-fsck - Check GIT LFS files for consistency
7
9 git lfs fsck [options] [revisions]
10
12 Checks all GIT LFS files in the current HEAD for consistency.
13
14 Corrupted files are moved to ".git/lfs/bad".
15
16 The revisions may be specified as either a single committish, in which
17 case only that commit is inspected; specified as a range of the form
18 A..B (and only this form), in which case that range is inspected; or
19 omitted entirely, in which case HEAD (and, for --objects, the index) is
20 examined.
21
22 The default is to perform all checks.
23
25 --objects
26 Check that each object in HEAD matches its expected hash and
27 that each object exists on disk.
28
29 --pointers
30 Check that each pointer is canonical and that each file which
31 should be stored as a Git LFS file is so stored.
32
34 git-lfs-ls-files(1), git-lfs-status(1).
35
36 Part of the git-lfs(1) suite.
37
38
39
40 October 2021 GIT-LFS-FSCK(1)