From 56bc032c19e581368e607c836c3ae02eadb8690d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 13 Sep 2022 15:09:02 -0400 Subject: [PATCH] update to work with modern git --- doc/tips/setup_a_public_repository_on_a_web_site.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 d7d7bd3a58..e8cfd8f978 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 @@ -19,7 +19,7 @@ Here's how I set it up. --[[Joey]] 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` + `mv .git/hooks/post-update.sample .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/"