aboutsummaryrefslogtreecommitdiff
path: root/doc/git-annex-p2p.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-11-22 15:17:27 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-11-22 15:29:30 -0400
commit63c41ea48babdf56a7eb81eb96ee9c67a8719853 (patch)
treefea8d80e4da65f9fcb7a5c569f98264807f52eae /doc/git-annex-p2p.mdwn
parentee611985367b93539c9390a8067d28340dd972ad (diff)
docs for stuff not fully implemented yet
Diffstat (limited to 'doc/git-annex-p2p.mdwn')
-rw-r--r--doc/git-annex-p2p.mdwn54
1 files changed, 54 insertions, 0 deletions
diff --git a/doc/git-annex-p2p.mdwn b/doc/git-annex-p2p.mdwn
new file mode 100644
index 000000000..41e1967ee
--- /dev/null
+++ b/doc/git-annex-p2p.mdwn
@@ -0,0 +1,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.