summaryrefslogtreecommitdiff
path: root/doc/tips/using_gitolite_with_git-annex.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tips/using_gitolite_with_git-annex.mdwn')
-rw-r--r--doc/tips/using_gitolite_with_git-annex.mdwn20
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: