diff options
author | Joey Hess <joey@kitenet.net> | 2011-10-17 14:20:36 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-10-17 14:20:36 -0400 |
commit | 9e3783f8fedfc54ee4fbf96c1c5e267650993b4d (patch) | |
tree | aec56fc6b9854dbee5bbc21c21d404fe47c3a119 | |
parent | a6633f857bdcbdd3924a5b75337c1af0cf68d6cf (diff) |
layout
-rw-r--r-- | doc/tips/using_gitolite_with_git-annex.mdwn | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/doc/tips/using_gitolite_with_git-annex.mdwn b/doc/tips/using_gitolite_with_git-annex.mdwn index 4dc6d8ae5..bf3d61434 100644 --- a/doc/tips/using_gitolite_with_git-annex.mdwn +++ b/doc/tips/using_gitolite_with_git-annex.mdwn @@ -20,18 +20,24 @@ gitolite installation, just with different paths. 1. Set `$GL_ADC_PATH` in `.gitolite.rc`, if you have not already done so. - echo '$GL_ADC_PATH = "/usr/local/lib/gitolite/adc/;' >>~gitolite/.gitolite.rc +<pre> +echo '$GL_ADC_PATH = "/usr/local/lib/gitolite/adc/;' >>~gitolite/.gitolite.rc +</pre> 2. Make the ADC directory, and a "ua" subdirectory. - - mkdir -p /usr/local/lib/gitolite/adc/ua + +<pre> +mkdir -p /usr/local/lib/gitolite/adc/ua +</pre> 3. Install the git-annex-shell ADC into the "ua" subdirectory and make it executable. - - cd /usr/local/lib/gitolite/adc/ua/ - wget https://raw.github.com/sitaramc/gitolite/pu/contrib/adc/git-annex-shell - chmod +x git-annex-shell + +<pre> +cd /usr/local/lib/gitolite/adc/ua/ +wget https://raw.github.com/sitaramc/gitolite/pu/contrib/adc/git-annex-shell +chmod +x git-annex-shell +</pre> 4. Now all gitolite repositories can be used with git-annex just as any ssh remote normally would be used. For example: |