summaryrefslogtreecommitdiff
path: root/doc/git-annex.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-04-17 18:41:24 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-04-17 18:41:24 -0400
commite23a4eb3c9e9a6bc39a5a59fe45300e8fdfb0916 (patch)
treed3a75a3f65edb6f8a02b7ce54553e3a9960fcc34 /doc/git-annex.mdwn
parente9b6c350b15a93d82affadfabca18b3e95840cb1 (diff)
findref: New command, like find but shows files in a specified git ref.
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r--doc/git-annex.mdwn8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index 32680b32c..d5408a2ae 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -927,6 +927,14 @@ subdirectories).
With `--force`, even files whose content is not currently available will
be rekeyed. Use with caution.
+* `findref [ref]`
+
+ This is similar to the find command, but instead of finding files in the
+ current work tree, it finds files in the specified git ref.
+
+ Most MATCHING OPTIONS can be used with findref, to limit the files it
+ finds. However, the --include and --exclude options will not work.
+
* `test`
This runs git-annex's built-in test suite.