summaryrefslogtreecommitdiff
path: root/doc/git-annex-p2p.mdwn
blob: 41e1967ee606e8418a6079c80312b92da8512c65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# NAME

git-annex p2p - manage peer-to-peer connections

# SYNOPSIS

git annex p2p [options]

# DESCRIPTION

When using git-annex with peer-to-peer communication, this manages
connections between the peers.

Currently, git-annex supports peer-to-peer communication over Tor.

# OPTIONS

* `--gen-address [name]`

  Generates one or more addresses, which allow whoever knows them to access
  your repository. The addresses are output on standard output, one per
  supported P2P network.

  You can re-run this command repeatedly to generate as many addresses
  as you like.

  The name is an optional parameter, the name of the person or device you
  intend to give this address to. Providig it makes it easier to use
  `--remove-address`

* `--link-remote name address`

  Link the local repository to a remote repository. This sets up a git remote
  with the specified name. The address is one generated by `--gen-address`
  run on the remote repository.

* `--remove-address [address|name]`

  If you've given out an address to someone, and don't want to accept
  connections from them anymore, this can be used to remove it.

# SEE ALSO

[[git-annex]](1)

[[git-annex-enable-tor]](1)

[[git-annex-remotedaemon]](1)

# AUTHOR

Joey Hess <id@joeyh.name>

Warning: Automatically converted into a man page by mdwn2man. Edit with care.