From 4e5a27841a798ed41425e50c7a4666d91ccb50dc Mon Sep 17 00:00:00 2001 From: jrollins Date: Mon, 1 Feb 2021 19:30:54 +0000 Subject: [PATCH] Added a comment --- ..._7552b022b407134e52790222527466a6._comment | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 doc/bugs/problems_with_SSH_and_relative_paths/comment_8_7552b022b407134e52790222527466a6._comment diff --git a/doc/bugs/problems_with_SSH_and_relative_paths/comment_8_7552b022b407134e52790222527466a6._comment b/doc/bugs/problems_with_SSH_and_relative_paths/comment_8_7552b022b407134e52790222527466a6._comment new file mode 100644 index 0000000000..5bbb1a4fb9 --- /dev/null +++ b/doc/bugs/problems_with_SSH_and_relative_paths/comment_8_7552b022b407134e52790222527466a6._comment @@ -0,0 +1,21 @@ +[[!comment format=mdwn + username="jrollins" + avatar="http://cdn.libravatar.org/avatar/129f3c58226661d01c5bfc18f0048d81" + subject="comment 8" + date="2021-02-01T19:30:52Z" + content=""" +Ok progress! I think we have resolved the issue. The [instructions](https://git-annex.branchable.com/tips/centralized_git_repository_tutorial/on_your_own_server/) are missing a key command. From the \"set up the server\" section, you need to `git annex init` in the newly created bare git repo, e.g.: + +``` +server# cd +server# git init annex.git --bare --shared +server# cd annex.git +server# git annex init server +``` + +Once the newly-created bare git repo is git-annex initialized, things seem to work properly. yay! + +It also seems to work for both absolute and relatively specified directories on the remote. I have tested with both. So I guess the odd path in the ssh command is a red herring, and git-annex-shell known how to resolve the path correctly. Very good. + +Thank you @joey and @lukey for the help. I guess we can close this issue once the instructions are properly updated. Thanks! +"""]]