From e14eececd8f0431c3aa65536b01a7e621ddcd4a1 Mon Sep 17 00:00:00 2001 From: jrollins <jrollins@web> Date: Sun, 31 Jan 2021 20:31:36 +0000 Subject: [PATCH] Added a comment: problems with annex init in cloned repo --- ..._c5cfc1a81e9ed105a2750a0342381abd._comment | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 doc/tips/centralized_git_repository_tutorial/on_your_own_server/comment_7_c5cfc1a81e9ed105a2750a0342381abd._comment diff --git a/doc/tips/centralized_git_repository_tutorial/on_your_own_server/comment_7_c5cfc1a81e9ed105a2750a0342381abd._comment b/doc/tips/centralized_git_repository_tutorial/on_your_own_server/comment_7_c5cfc1a81e9ed105a2750a0342381abd._comment new file mode 100644 index 0000000000..5089da331f --- /dev/null +++ b/doc/tips/centralized_git_repository_tutorial/on_your_own_server/comment_7_c5cfc1a81e9ed105a2750a0342381abd._comment @@ -0,0 +1,26 @@ +[[!comment format=mdwn + username="jrollins" + avatar="http://cdn.libravatar.org/avatar/129f3c58226661d01c5bfc18f0048d81" + subject="problems with annex init in cloned repo" + date="2021-01-31T20:31:36Z" + content=""" +I'm trying to following the instructions here, but keep running into the following problem whenever I try to clone the remote repo: +``` +0$ git clone ssh://remote.example.com/~/tmp/archive/git +Cloning into 'git'... +warning: You appear to have cloned an empty repository. +0$ cd git/ +0$ git annex init local +init servo (scanning for unlocked files...) + + Unable to parse git config from origin + + Remote origin does not have git-annex installed; setting annex-ignore + + This could be a problem with the git-annex installation on the remote. Please make sure that git-annex-shell is available in PATH when you ssh into the remote. Once you have fixed the git-annex installation, run: git annex enableremote origin +ok +(recording state in git...) +0$ +``` +What am I doing wrong? The remote repo is setup bare, exactly as suggested. +"""]]