Skip to content

Commit 90d32d1

Browse files
Thomas Rastgitster
authored andcommitted
Document push --no-verify
ec55559 (push: Add support for pre-push hooks, 2013-01-13) forgot to add a note to git-push(1) about the new --no-verify option. Signed-off-by: Thomas Rast <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 92758dd commit 90d32d1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Documentation/git-push.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SYNOPSIS
1111
[verse]
1212
'git push' [--all | --mirror | --tags] [-n | --dry-run] [--receive-pack=<git-receive-pack>]
1313
[--repo=<repository>] [-f | --force] [--prune] [-v | --verbose] [-u | --set-upstream]
14-
[<repository> [<refspec>...]]
14+
[--no-verify] [<repository> [<refspec>...]]
1515

1616
DESCRIPTION
1717
-----------
@@ -190,6 +190,11 @@ useful if you write an alias or script around 'git push'.
190190
be pushed. If on-demand was not able to push all necessary
191191
revisions it will also be aborted and exit with non-zero status.
192192

193+
--[no-]verify::
194+
Toggle the pre-push hook (see linkgit:githooks[5]). The
195+
default is \--verify, giving the hook a chance to prevent the
196+
push. With \--no-verify, the hook is bypassed completely.
197+
193198

194199
include::urls-remotes.txt[]
195200

0 commit comments

Comments
 (0)