From c38bc8ea3b253aab7c0ababe4a046f824767ad12 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawnm19dBCRphmtjXfopm_NpvnRwz-qIJ2Tw" Date: Thu, 12 Feb 2015 14:47:38 +0000 Subject: Added a comment --- ...ent_6_392819ba657569a1b997b58aa921a0ad._comment | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 doc/forum/multiple_urls_for_the_same_UUID/comment_6_392819ba657569a1b997b58aa921a0ad._comment (limited to 'doc') diff --git a/doc/forum/multiple_urls_for_the_same_UUID/comment_6_392819ba657569a1b997b58aa921a0ad._comment b/doc/forum/multiple_urls_for_the_same_UUID/comment_6_392819ba657569a1b997b58aa921a0ad._comment new file mode 100644 index 000000000..783b9a41a --- /dev/null +++ b/doc/forum/multiple_urls_for_the_same_UUID/comment_6_392819ba657569a1b997b58aa921a0ad._comment @@ -0,0 +1,25 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawnm19dBCRphmtjXfopm_NpvnRwz-qIJ2Tw" + nickname="Remi" + subject="comment 6" + date="2015-02-12T14:47:38Z" + content=""" +I had the same problem, and I solved it using a host specific directory with symlink: + +On host \"host1\", I've a directory named \"/home/me/host1/\" that contain a symlink \"mygitrepos\" to \"/home/me/mygitrepos/\". +On host \"host2\", I've a directory named \"/home/me/host2/\" that contain a symlink \"mygitrepos\" to \"/home/me/mygitrepos/\". + +On the usb drive, the remote are set as: + + [remote \\"host1\\"] + url = /home/me/host1/mygitrepos + fetch = +refs/heads/*:refs/remotes/host1/* + annex-uuid = ce6175ba-4a0d-49e6-88b1-615dac7a37c1 + [remote \\"host2\\"] + url = /home/me/host2/mygitrepos + fetch = +refs/heads/*:refs/remotes/host2/* + annex-uuid = f7e3fbe8-f7f5-4231-a885-a72a46680d0b + +(I didn't set the net remote, but it should work). With this added indirection I protect myself against git (and git-annex) confusion. + +"""]] -- cgit v1.2.3