summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawnm19dBCRphmtjXfopm_NpvnRwz-qIJ2Tw <Remi@web>2015-02-12 14:47:38 +0000
committerGravatar admin <admin@branchable.com>2015-02-12 14:47:38 +0000
commitc38bc8ea3b253aab7c0ababe4a046f824767ad12 (patch)
treec72bc8867df4684a4c05673c30c3907a2d059d9c
parentcb6e5d36a50647b13423f8ca78655546ca55e443 (diff)
Added a comment
-rw-r--r--doc/forum/multiple_urls_for_the_same_UUID/comment_6_392819ba657569a1b997b58aa921a0ad._comment25
1 files changed, 25 insertions, 0 deletions
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.
+
+"""]]