1GIT-LFS-PRE-PUSH(1)         General Commands Manual        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
16           <local-ref> SP <local-sha1> SP <remote-ref> SP <remote-sha1> \n
17
18
19
20       It also takes the remote name and URL as arguments.
21
22       If any of those Git objects are associated with Git LFS objects,  those
23       objects will be pushed to the Git LFS API.
24
25       In  the  case  of pushing a new branch, the list of Git objects will be
26       all of the Git objects in this branch.
27
28       In the case of deleting a branch, no attempts to push Git  LFS  objects
29       will be made.
30

OPTIONS

32       GIT_LFS_SKIP_PUSH
33              Do nothing on pre-push. For more, see: git-lfs-config(5).
34

SEE ALSO

36       git-lfs-clean(1), git-lfs-push(1).
37
38       Part of the git-lfs(1) suite.
39
40
41
42                                   May 2022                GIT-LFS-PRE-PUSH(1)
Impressum