add Remote.Directory

This commit is contained in:
Joey Hess 2011-03-30 13:18:46 -04:00
parent 320a4102d6
commit a47ed922e1
6 changed files with 126 additions and 0 deletions

View file

@ -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]]

View file

@ -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/