File: Multiple_machine_remotes_on_external_drive.mdwn

package info (click to toggle)
git-annex 10.20250416-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 73,572 kB
  • sloc: haskell: 90,656; javascript: 9,103; sh: 1,469; makefile: 211; perl: 137; ansic: 44
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?