summaryrefslogtreecommitdiff
path: root/doc/tips/centralized_git_repository_tutorial
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-08-09 18:09:05 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-08-09 18:09:05 -0400
commit024421249bd2c3a1706092569bd543e2fc23f104 (patch)
tree5d4b8616a4344b796e66bd0074a84a1f159ca330 /doc/tips/centralized_git_repository_tutorial
parent6c7ac7b56f93b40a36cbac6c3e3fa2befc98c25f (diff)
tip for git-annex-shell PATH issues
Diffstat (limited to 'doc/tips/centralized_git_repository_tutorial')
-rw-r--r--doc/tips/centralized_git_repository_tutorial/on_your_own_server.mdwn8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/tips/centralized_git_repository_tutorial/on_your_own_server.mdwn b/doc/tips/centralized_git_repository_tutorial/on_your_own_server.mdwn
index cc6bfbe28..6d5d1cd02 100644
--- a/doc/tips/centralized_git_repository_tutorial/on_your_own_server.mdwn
+++ b/doc/tips/centralized_git_repository_tutorial/on_your_own_server.mdwn
@@ -8,10 +8,16 @@ See for example [[using_gitolite_with_git-annex]].
## set up the server
On the server, you'll want to [[install]] git, and git-annex, if you haven't
-already.
+already. If possible, install it using your distribution's package manager:
server# sudo apt-get install git git-annex
+Note that git-annex-shell needs to be located somewhere in the PATH, so
+that a client can successfully run "ssh yourserver git-annex-shell".
+Installing git-annex using a package manager will take care of this for
+you. But if you're not root or otherwise can't install git-annex that way,
+you may need to do more work; see [[get_git-annex-shell_into_PATH]].
+
Decide where to put the repository on the server, and create a bare git repo
there. In your home directory is a simple choice: