Skip to content

Commit 9fe3a5b

Browse files
committed
split pre-push cmd from push
1 parent f4b10e0 commit 9fe3a5b

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

docs/man/git-lfs-pre-push.1.ronn

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
git-lfs-pre-push(1) -- Git pre-push hook implementation
2+
=======================================================
3+
4+
## SYNOPSIS
5+
6+
`git lfs pre-push` <remote> [remoteurl]
7+
8+
## DESCRIPTION
9+
10+
Responds to Git pre-hook events. It reads the range of commits from STDIN, in
11+
the following format:
12+
13+
<local-ref> SP <local-sha1> SP <remote-ref> SP <remote-sha1> \n
14+
15+
It also takes the remote name and URL as arguments.
16+
17+
## SEE ALSO
18+
19+
git-lfs-clean(1), git-lfs-push(1).
20+
21+
Part of the git-lfs(1) suite.

docs/man/git-lfs-push.1.ronn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ git-lfs-push(1) -- Push queued large files to the Git LFS endpoint
33

44
## SYNOPSIS
55

6-
`git lfs push` <repo> [refspec]
6+
`git lfs push` <remote> [branch]
77

88
## DESCRIPTION
99

@@ -25,6 +25,6 @@ Push is typically run by Git's pre-push hook.
2525

2626
## SEE ALSO
2727

28-
git-lfs-clean(1).
28+
git-lfs-clean(1), git-lfs-pre-push(1).
2929

3030
Part of the git-lfs(1) suite.

0 commit comments

Comments
 (0)