summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-03-30 13:18:46 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-03-30 13:24:36 -0400
commita47ed922e1302480d79f54f553532e85eebae872 (patch)
tree16d9507bf012e329970462f1bef936626b1aac2a /doc
parent320a4102d6dfff193fc501e53859b2b3edc397d5 (diff)
add Remote.Directory
Diffstat (limited to 'doc')
-rw-r--r--doc/special_remotes.mdwn1
-rw-r--r--doc/special_remotes/directory.mdwn10
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/special_remotes.mdwn b/doc/special_remotes.mdwn
index 651b24afa..09b751d0f 100644
--- a/doc/special_remotes.mdwn
+++ b/doc/special_remotes.mdwn
@@ -7,3 +7,4 @@ types of remotes. These can be used just like any normal remote by git-annex.
They cannot be used by other git commands though.
* [[Amazon_S3]]
+* [[directory]]
diff --git a/doc/special_remotes/directory.mdwn b/doc/special_remotes/directory.mdwn
new file mode 100644
index 000000000..42dbc5749
--- /dev/null
+++ b/doc/special_remotes/directory.mdwn
@@ -0,0 +1,10 @@
+This special remote type stores file contents in directory on the system.
+
+One use case for this would be if you have a removable drive, that you
+cannot put a git repository on for some reason, and you want to use it
+to sneakernet files between systems. Just set up both systems to use
+the drive's mountpoint as a directory remote.
+
+Setup example:
+
+ # git annex initremote usbdrive directory=/media/usbdrive/