summaryrefslogtreecommitdiff
path: root/doc/tips
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-01-03 22:35:35 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-01-03 22:35:35 -0400
commit4607db65227c284811019d05e54dc0b595e1aed5 (patch)
tree6abcd5cc362731f0feb889d0fe4830860d050753 /doc/tips
parentfbaf52d7b852d02ec0b5bfe639715a29024b1a9b (diff)
simplify
Diffstat (limited to 'doc/tips')
-rw-r--r--doc/tips/setup_a_public_repository_on_a_web_site.mdwn5
1 files changed, 3 insertions, 2 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 5ed3a98f4..2b2363d3e 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
@@ -12,8 +12,9 @@ Here's how I set it up. --[[Joey]]
4. `git init; git annex init`
3. 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. So
- put it in the git `post-update` hook.
+ 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`
5. `git annex add; git commit -m added`
6. Make sure users can still download files from the site directly.
7. Instruct advanced users to clone a http url that ends with the "/.git/"