Documentation: push/receive hook references.
Mention documentation pages that talk about update and post-update hooks from git-push, because a frequently asked question is "I want X to happen when I push" and people would not know to look at git-receive-pack documentation until they understand that is what runs on the other end. Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Dec 5, 2005 at 00:32 UTC
eb0362a467cc2cb5313bb859d78ea2d152b4a4ff
2 files changed
+9
Documentation/git-push.txt
+5
@@ -16,6 +16,10 @@ DESCRIPTION
16
Updates remote refs using local refs, while sending objects
17
necessary to complete the given refs.
18
19
+You can make "interesting" things to happen on the repository
20
+every time you push into it, by setting up 'hooks' there. See
21
+documentation for gitlink:git-receive-pack[1].
22
+
23
24
OPTIONS
25
-------
@@ -31,6 +35,7 @@ include::pull-fetch-param.txt[]
35
This flag disables the check. What this means is that the
36
local repository can lose commits; use it with care.
37
38
+
39
Author
40
------
41
Written by Junio C Hamano <junkio@cox.net>
Documentation/git-receive-pack.txt
+4
@@ -71,6 +71,10 @@ packed and is served via a dumb transport.
71
#!/bin/sh
72
exec git-update-server-info
73
74
+There are other real-world examples of using update and
75
+post-update hooks found in the Documentation/howto directory.
76
+
77
+
78
OPTIONS
79
-------
80
<directory>::