Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Mention post-update when we first talk about publishing a repository.
author
Junio C Hamano
<junkio@cox.net>
Fri, 2 Sep 2005 18:46:43 +0000
(11:46 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 2 Sep 2005 18:46:43 +0000
(11:46 -0700)
There is more detailed instruction for `project lead` later in
the tutorial to talk about the same, but at this point in the
flow of tutorial, the first time reader has no way of knowing it.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/tutorial.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
86b13da
)
diff --git
a/Documentation/tutorial.txt
b/Documentation/tutorial.txt
index 04354a37b96135b16c82b8377afcf1ec90397b31..8d999b02de6a7e37f624ed0ee2d8541b32a58726 100644
(file)
--- a/
Documentation/tutorial.txt
+++ b/
Documentation/tutorial.txt
@@
-1103,6
+1103,12
@@
your login shell is `bash`, only `.bashrc` is read and not
`.bash_profile`. As a workaround, make sure `.bashrc` sets up
`$PATH` so that you can run `git-receive-pack` program.
`.bash_profile`. As a workaround, make sure `.bashrc` sets up
`$PATH` so that you can run `git-receive-pack` program.
+[NOTE]
+If you plan to publish this repository to be accessed over http,
+you should do `chmod +x my-git.git/hooks/post-update` at this
+point. This makes sure that every time you push into this
+repository, `git-update-server-info` is run.
+
Your "public repository" is now ready to accept your changes.
Come back to the machine you have your private repository. From
there, run this command:
Your "public repository" is now ready to accept your changes.
Come back to the machine you have your private repository. From
there, run this command: