summaryrefslogtreecommitdiff
path: root/bin/annex-to-annex
diff options
context:
space:
mode:
Diffstat (limited to 'bin/annex-to-annex')
-rwxr-xr-xbin/annex-to-annex20
1 files changed, 19 insertions, 1 deletions
diff --git a/bin/annex-to-annex b/bin/annex-to-annex
index 8d94ba0..517bdcd 100755
--- a/bin/annex-to-annex
+++ b/bin/annex-to-annex
@@ -19,7 +19,7 @@
=head1 SYNOPSIS
-
+B<annex-to-annex> [B<--commit>] I<source> ... I<destination>
=head1 DESCRIPTION
@@ -32,6 +32,24 @@ example, at the end of the semester I use this script to move files
from my work annex, which gets synced to a lot of places, into an
archival annex, which doesn't.
+Each I<source> should be a file or directory in a git annex.
+I<destination> should be a subdirectory of a git annex.
+
+=head1 OPTIONS
+
+=over 4
+
+=item B<--commit>
+
+Commit changes in the source and destination annexes. Otherwise
+changes are merely added to the index.
+
+=back
+
+=head1 SEE ALSO
+
+git-annex(1)
+
=cut
use 5.028;