File: Multiple_machine_remotes_on_external_drive.mdwn

package info (click to toggle)
git-annex 6.20170101-1%2Bdeb9u2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 50,088 kB
  • sloc: haskell: 53,116; sh: 1,582; ansic: 341; makefile: 292; perl: 144
file content (7 lines) | stat: -rw-r--r-- 472 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
I have a question about remotes behavior on external drives.

Say I have two machines A and B each with a git annex repository at `~/repo`, and an external drive C with the same repository at `/repo`.

I can add C remotes for A and B at, for example, `/media/hdd/repo`, but I'm not certain how it works for C.

Do I stick C into A and add a remote A at path `~/repo`, then stick C into B and add a remote B with the same path `~/repo`?  Does git annex handle this sanely?