git-annex/doc/forum/One_repo_with_multiple_remotes.mdwn
gnusosa@2538fbd05a723a8f83b066e159f5d5f83b9f400d 308f3ecf66
2018-03-16 03:50:47 +00:00

20 lines
753 B
Markdown

I have three machines with the same repository in all of the machines.
- cat-laptop:~/personal
- dog:~/personal
- turtle:~/personal
All of them are connected to each other in `client mode`, and were
paired via the `Assistant` as `Local Computers`.
`dog:~/personal` is accessible through the LAN and externally to the
internet.
Will there be a problem if I add `dog:~/personal` as a `Remote Server`
through the assistant with a different hostname and port to
`cat-laptop:~/personal`? And does git-annex know what remote to use if
`cat-laptop` is connected to the same LAN as `dog`?
My worries are file collisions, missing commits, or any lose of
updates because of one repository treated as multiple remotes in other
client repositories.