1GIT-LFS-PRE-PUSH(1) GIT-LFS-PRE-PUSH(1)
2
3
4
6 git-lfs-pre-push - Git pre-push hook implementation
7
9 git lfs pre-push remote [remoteurl]
10
12 Responds to Git pre-hook events. It reads the range of commits from
13 STDIN, in the following format:
14
15
16
17 <local-ref> SP <local-sha1> SP <remote-ref> SP <remote-sha1> \n
18
19
20
21 It also takes the remote name and URL as arguments.
22
23 If any of those Git objects are associated with Git LFS objects, those
24 objects will be pushed to the Git LFS API.
25
26 In the case of pushing a new branch, the list of Git objects will be
27 all of the Git objects in this branch.
28
29 In the case of deleting a branch, no attempts to push Git LFS objects
30 will be made.
31
33 GIT_LFS_SKIP_PUSH
34 Do nothing on pre-push. For more, see: git-lfs-config(5).
35
37 git-lfs-clean(1), git-lfs-push(1).
38
39 Part of the git-lfs(1) suite.
40
41
42
43 March 2021 GIT-LFS-PRE-PUSH(1)