Debian Codegraph @

docs/man/git-lfs-pointer.adoc

raw
1 = git-lfs-pointer(1)
2
3 == NAME
4
5 git-lfs-pointer - Build, compare, and check pointers
6
7 == SYNOPSIS
8
9 [source,role=synopsis,subs="verbatim,quotes"]
10 ----
11 *git lfs pointer* **--file=**__path/to/file__
12 *git lfs pointer* **--file=**__path/to/file__ **--pointer=**__path/to/pointer__
13 *git lfs pointer* **--file=**__path/to/file__ *--stdin*
14 *git lfs pointer --check* **--file=**__path/to/file__
15 ----
16
17 == Description
18
19 Builds and optionally compares generated pointer files to ensure
20 consistency between different Git LFS implementations.
21
22 == OPTIONS
23
24 `-f`::
25 `--file`::
26 A local file to build the pointer from.
27 `-p`::
28 `--pointer`::
29 A local file including the contents of a pointer generated from another
30 implementation. This is compared to the pointer generated from `--file`.
31 `--stdin`::
32 Reads the pointer from STDIN to compare with the pointer generated from
33 `--file`.
34 `--check`::
35 Reads the pointer from STDIN (if `--stdin` is given) or the filepath (if
36 `--file`) is given. If neither or both of `--stdin` and `--file` are given,
37 the invocation is invalid. Exits 0 if the data read is a valid Git LFS
38 pointer. Exits 1 otherwise.
39 `--strict`::
40 `--no-strict`::
41 In conjunction with `--check`, `--strict` verifies that the pointer is
42 canonical; that is, it would be the one created by Git LFS. If it is not,
43 exits 2. The default, for backwards compatibility, is `--no-strict`, but this
44 may change in a future version.
45 `--no-extensions`::
46 Don't print the extensions of the pointer.
47
48 == SEE ALSO
49
50 Part of the git-lfs(1) suite.