1GIT-LFS-PRE-PUSH(1)                                        GIT-LFS-PRE-PUSH(1)
2
3
4

NAME

6       git-lfs-pre-push - Git pre-push hook implementation
7

SYNOPSIS

9       git lfs pre-push <remote> [remoteurl]
10

DESCRIPTION

12       Responds to Git pre-hook events. It reads the range of commits from
13       STDIN, in the following format:
14
15           <local-ref> SP <local-sha1> SP <remote-ref> SP <remote-sha1> \n
16
17       It also takes the remote name and URL as arguments.
18
19       If any of those Git objects are associated with Git LFS objects, those
20       objects will be pushed to the Git LFS API.
21
22       In the case of pushing a new branch, the list of Git objects will be
23       all of the Git objects in this branch.
24
25       In the case of deleting a branch, no attempts to push Git LFS objects
26       will be made.
27

OPTIONS

29       •   GIT_LFS_SKIP_PUSH: Do nothing on pre-push. For more, see:
30           git-lfs-config(5).
31

SEE ALSO

33       git-lfs-clean(1), git-lfs-push(1).
34
35       Part of the git-lfs(1) suite.
36
37
38
39                                                           GIT-LFS-PRE-PUSH(1)
Impressum