simplify
This commit is contained in:
parent
bad9b6761d
commit
eab00230f5
1 changed files with 3 additions and 2 deletions
|
@ -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/"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue