summaryrefslogtreecommitdiff
path: root/doc/git-annex.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-07-03 15:26:59 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-07-03 15:26:59 -0400
commit289a3f7749a5086a19a22b277a022e3b006da94f (patch)
tree10c4a4fe5ab4391c82cf91f4069bf0d7f4c7490b /doc/git-annex.mdwn
parent0e4ed4dd9bf9b78c1723400e9c787a18430c5f57 (diff)
--unused: New switch that makes git-annex operate on all data found by the last run of git annex unused. Supported by fsck, get, move, copy.
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r--doc/git-annex.mdwn11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index 012b7595c..0f63edf94 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -380,6 +380,12 @@ subdirectories).
To check for annexed data on a remote, specify --from.
+ After running this command, you can use the --unused option to
+ operate on all the unused data that was found. For example, to
+ move all unused data to origin:
+
+ git annex unused; git annex move --unused --to origin
+
* dropunused [number|range ...]
Drops the data corresponding to the numbers, as listed by the last
@@ -610,6 +616,11 @@ subdirectories).
normal behavior is to only operate on specified files in the working
tree.
+* --unused
+
+ Operate on all data that has been determined to be unused by
+ a previous run of git-annex unused.
+
* --quiet
Avoid the default verbose display of what is done; only show errors