1GIT-LFS-POINTER(1)          General Commands Manual         GIT-LFS-POINTER(1)
2
3
4

NAME

6       git-lfs-pointer - Build, compare, and check pointers
7

SYNOPSIS

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

Description

15       Builds and optionally compares generated pointer files to  ensure  con‐
16       sistency between different Git LFS implementations.
17

OPTIONS

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
36       --strict:
37
38
39       --no-strict
40              In  conjunction with --check, --strict verifies that the pointer
41              is canonical; that is, it would be the one created by  Git  LFS.
42              If it is not, exits 2. The default, for backwards compatibility,
43              is --no-strict, but this may change in a future version.
44

SEE ALSO

46       Part of the git-lfs(1) suite.
47
48
49
50                                 October 2021               GIT-LFS-POINTER(1)
Impressum