summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/tips/setup_a_public_repository_on_a_web_site.mdwn7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/tips/setup_a_public_repository_on_a_web_site.mdwn b/doc/tips/setup_a_public_repository_on_a_web_site.mdwn
index ce6230fa1..d7d7bd3a5 100644
--- a/doc/tips/setup_a_public_repository_on_a_web_site.mdwn
+++ b/doc/tips/setup_a_public_repository_on_a_web_site.mdwn
@@ -16,9 +16,10 @@ Here's how I set it up. --[[Joey]]
[[working tree update when changes are pushed to it|making_a_remote_repo_update_when_changes_are_pushed_to_it]].)
6. We want users to be able to clone the git repository over http, because
git-annex can download files from it over http as well. For this to
- work, `git update-server-info` needs to get run after commits. The
- git `post-update` hook will take care of this, you just need to enable
- the hook. `chmod +x .git/hooks/post-update`
+ work, `git update-server-info` needs to get run on the server after
+ commits or pushes to it. The git `post-update` hook will take care of
+ this, you just need to enable the hook on the server.
+ `chmod +x .git/hooks/post-update`
7. `git annex add; git commit -m added`
8. Make sure users can still download files from the site directly.
9. Instruct advanced users to clone a http url that ends with the "/.git/"