projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d9e3d6
)
update to work with modern git
author
Joey Hess
<joeyh@joeyh.name>
Tue, 13 Sep 2022 19:09:02 +0000
(15:09 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Tue, 13 Sep 2022 19:09:02 +0000
(15:09 -0400)
doc/tips/setup_a_public_repository_on_a_web_site.mdwn
patch
|
blob
|
history
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 d7d7bd3a583bf4601ba96e8712818d77aad9c002..e8cfd8f97886d9f59a27d00da6b14c3aee77798a 100644
(file)
--- 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/"