mirror of
https://github.com/git/git
synced 2024-08-25 02:35:46 +00:00
Mention post-update when we first talk about publishing a repository.
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>
This commit is contained in:
parent
86b13da46c
commit
953e5842f8
|
@ -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.
|
||||
|
||||
[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:
|
||||
|
|
Loading…
Reference in a new issue