aboutsummaryrefslogtreecommitdiff
path: root/doc/git-annex-unused.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-03-24 15:23:59 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-03-24 15:23:59 -0400
commit5c8727dea29d5266de481475495eb979038bfa5a (patch)
tree2362c6ba5cd464d1e44f6a08ef4d7d034b594c75 /doc/git-annex-unused.mdwn
parentd17d5a77893ac01fc7c29f92447a3e85e3501d9f (diff)
separated man pages for all the maintenance commands
Diffstat (limited to 'doc/git-annex-unused.mdwn')
-rw-r--r--doc/git-annex-unused.mdwn39
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/git-annex-unused.mdwn b/doc/git-annex-unused.mdwn
new file mode 100644
index 000000000..d59ef2abc
--- /dev/null
+++ b/doc/git-annex-unused.mdwn
@@ -0,0 +1,39 @@
+# NAME
+
+git-annex unused - look for unused file content
+
+# SYNOPSIS
+
+git annex unused
+
+# DESCRIPTION
+
+Checks the annex for data that does not correspond to any files present
+in any tag or branch, and prints a numbered list of the data.
+
+After running this command, you can use the `--unused` option with many
+other git-annex commands 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
+
+# OPTIONS
+
+* `--fast`
+
+ Only show unused temp and bad files.
+
+* `--from=remote`
+
+ Check for unused data on a remote.
+
+# SEE ALSO
+
+[[git-annex]](1)
+
+# AUTHOR
+
+Joey Hess <id@joeyh.name>
+
+Warning: Automatically converted into a man page by mdwn2man. Edit with care.