File: One_repo_with_multiple_remotes.mdwn

package info (click to toggle)
git-annex 7.20190129-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 56,292 kB
  • sloc: haskell: 59,105; sh: 1,255; makefile: 225; perl: 136; ansic: 44
file content (20 lines) | stat: -rw-r--r-- 753 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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.