From 20352b958dbd06692f94867314ddb4f88fb6c010 Mon Sep 17 00:00:00 2001 From: "https://me.yahoo.com/a/80VlVB0Bx9TaNOXIj3OCQ8eimAtIOhqjUQ--#1e80e" Date: Tue, 14 Feb 2017 00:03:35 +0000 Subject: Added a comment: Retrieving initremote parameters for new user --- ...ent_1_b34197834cd40b4bb086c7cb82453c61._comment | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 doc/git-annex-enableremote/comment_1_b34197834cd40b4bb086c7cb82453c61._comment diff --git a/doc/git-annex-enableremote/comment_1_b34197834cd40b4bb086c7cb82453c61._comment b/doc/git-annex-enableremote/comment_1_b34197834cd40b4bb086c7cb82453c61._comment new file mode 100644 index 000000000..16a44830a --- /dev/null +++ b/doc/git-annex-enableremote/comment_1_b34197834cd40b4bb086c7cb82453c61._comment @@ -0,0 +1,33 @@ +[[!comment format=mdwn + username="https://me.yahoo.com/a/80VlVB0Bx9TaNOXIj3OCQ8eimAtIOhqjUQ--#1e80e" + nickname="Sundar Raman" + avatar="http://cdn.libravatar.org/avatar/a5db56ac8777aee80bbe2b1e1d697c3961973049a22def38b4d15b7507e59c01" + subject="Retrieving initremote parameters for new user" + date="2017-02-14T00:03:35Z" + content=""" +Is there a way to determine the parameters that an enableremote command must use, if one does not know it? The use case is as follows: +* Dev 1 performs an `initremote annexed-media directory=/path/to/media ...` +* Dev 1 syncs content +* Dev 2 comes along (or Dev 1 comes along months later with a different machine) and clones the repo, but needs to know the directory=/path... in order to 'enableremote'. Is there any way to glean this information from the source repo itself? + +The steps would be: + +dev1$ git clone git@gitserver:myproject.git && cd myproject +dev1$ mkdir images && touch images/foo1.png +dev1$ git annex initremote annexation.dir directory=/mnt/media/myproject.annex/ encrypted=false +dev1$ git commit && git push && git annex sync --content + +