1GIT-LFS-POINTER(1) GIT-LFS-POINTER(1)
2
3
4
6 git-lfs-pointer - Build, compare, and check pointers
7
9 git lfs pointer --file=path/to/file
10 git lfs pointer --file=path/to/file --pointer=path/to/pointer
11 git lfs pointer --file=path/to/file --stdin
12 git lfs pointer --check --file=path/to/file
13
15 Builds and optionally compares generated pointer files to ensure
16 consistency between different Git LFS implementations.
17
19 --file
20 A local file to build the pointer from.
21
22 --pointer
23 A local file including the contents of a pointer generated from
24 another implementation. This is compared to the pointer generated
25 from --file.
26
27 --stdin
28 Reads the pointer from STDIN to compare with the pointer generated
29 from --file.
30
31 --check
32 Reads the pointer from STDIN (if --stdin is given) or the filepath
33 (if --file) is given. If neither or both of --stdin and --file are
34 given, the invocation is invalid. Exits 0 if the data read is a
35 valid Git LFS pointer. Exits 1 otherwise.
36
37 --strict, --no-strict
38 In conjunction with --check, --strict verifies that the pointer is
39 canonical; that is, it would be the one created by Git LFS. If it
40 is not, exits 2. The default, for backwards compatibility, is
41 --no-strict, but this may change in a future version.
42
44 Part of the git-lfs(1) suite.
45
46
47
48 GIT-LFS-POINTER(1)