1GIT-LFS-POINTER(1) General Commands Manual 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 git lfs pointer --check
12 --file=path/to/file
13
15 Builds and optionally compares generated pointer files to ensure con‐
16 sistency between different Git LFS implementations.
17
19 --file A local file to build the pointer from.
20
21 --pointer
22 A local file including the contents of a pointer generated from
23 another implementation. This is compared to the pointer gener‐
24 ated from --file.
25
26 --stdin
27 Reads the pointer from STDIN to compare with the pointer gener‐
28 ated from --file.
29
30 --check
31 Reads the pointer from STDIN (if --stdin is given) or the
32 filepath (if --file) is given. If neither or both of --stdin and
33 --file are given, the invocation is invalid. Exits 0 if the data
34 read is a valid Git LFS pointer. Exits 1 otherwise.
35
37 Part of the git-lfs(1) suite.
38
39
40
41 March 2021 GIT-LFS-POINTER(1)