From 6b6a5c4fe5afbd9e54e49403121aa6adac217963 Mon Sep 17 00:00:00 2001 From: "http://xgm.de/oid/" Date: Sun, 24 Sep 2017 04:21:12 +0000 Subject: [PATCH] Added a comment --- ..._a56cb4993982e030eb9fd4cdb3b0c368._comment | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 doc/forum/Shared_directory_with_non_git-annex_users/comment_1_a56cb4993982e030eb9fd4cdb3b0c368._comment diff --git a/doc/forum/Shared_directory_with_non_git-annex_users/comment_1_a56cb4993982e030eb9fd4cdb3b0c368._comment b/doc/forum/Shared_directory_with_non_git-annex_users/comment_1_a56cb4993982e030eb9fd4cdb3b0c368._comment new file mode 100644 index 0000000000..698967e7ab --- /dev/null +++ b/doc/forum/Shared_directory_with_non_git-annex_users/comment_1_a56cb4993982e030eb9fd4cdb3b0c368._comment @@ -0,0 +1,50 @@ +[[!comment format=mdwn + username="http://xgm.de/oid/" + nickname="Florian" + avatar="http://cdn.libravatar.org/avatar/4c5c0e290374d76c713f482e41f60a3cbee0fa64bb94c6da94e5a61a50824811" + subject="comment 1" + date="2017-09-24T04:21:11Z" + content=""" +Ok, I tried it using ```GIT_DIR``` and ```GIT_WORK_TREE```: + + Current directory is ~/git-annex, ./work exists and is populated with some files. + + % GIT_DIR=~/git-annex/git GIT_WORK_TREE=~/git-annex/work git init + % GIT_DIR=~/git-annex/git GIT_WORK_TREE=~/git-annex/work git annex init \"server\" + % GIT_DIR=~/git-annex/git GIT_WORK_TREE=~/git-annex/work git annex direct + % GIT_DIR=~/git-annex/git GIT_WORK_TREE=~/git-annex/work git annex add . + [... file are addded ...] + % GIT_DIR=~/git-annex/git GIT_WORK_TREE=~/git-annex/work git annex sync + [... file are synced ...] + + % git clone git remote + % cd remote + % git annex init \"remote\" + % git annex sync + + + % git annex get a.out + get a.out + Unable to access these remotes: origin + + Try making some of these repositories available: + ed208c9f-a963-4000-a505-c3fe9dab0042 -- server [origin] + failed + git-annex: get: 1 failed + + + % git annex whereis a.out + whereis a.out (1 copy) + ed208c9f-a963-4000-a505-c3fe9dab0042 -- server [origin] + ok + + +The remote is of course available, it's all local. + +What is still wrong? + +Thanks, +Florian + + +"""]]