This commit is contained in:
Joey Hess 2013-01-03 22:35:35 -04:00
parent bad9b6761d
commit eab00230f5

View file

@ -12,8 +12,9 @@ Here's how I set it up. --[[Joey]]
4. `git init; git annex init` 4. `git init; git annex init`
3. We want users to be able to clone the git repository over http, because 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 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 work, `git update-server-info` needs to get run after commits. The
put it in the git `post-update` hook. 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` 5. `git annex add; git commit -m added`
6. Make sure users can still download files from the site directly. 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/" 7. Instruct advanced users to clone a http url that ends with the "/.git/"