summaryrefslogtreecommitdiff
path: root/doc/git-annex-clean.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-12-04 13:02:56 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-12-04 13:03:39 -0400
commit13ae7961f9ff251ac4c0d92823ebb7cf6577ce33 (patch)
treef15423500aff7434a7b80b5824e24b40f77a34cd /doc/git-annex-clean.mdwn
parent01bf5a9ec04c2e6711e33d6b43562528d3ab7ae4 (diff)
skeleton smudge/clean filters
Diffstat (limited to 'doc/git-annex-clean.mdwn')
-rw-r--r--doc/git-annex-clean.mdwn36
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/git-annex-clean.mdwn b/doc/git-annex-clean.mdwn
new file mode 100644
index 000000000..13099a544
--- /dev/null
+++ b/doc/git-annex-clean.mdwn
@@ -0,0 +1,36 @@
+# NAME
+
+git-annex clean - git filter driver for git-annex
+
+# SYNOPSIS
+
+git annex clean
+
+# DESCRIPTION
+
+When git-annex is used as a git filter driver, this command is run
+by git commands such as `git add`. It generates a file that
+is added to the git repository and points to the git-annex object
+containing the content of a large file.
+
+To configure git to use git-annex as a git filter driver, place the
+following in the .gitattributes file:
+
+ * filter=annex
+ .* !filter
+
+The annex.largefiles config is consulted to decide if a given file should
+be added to git as-is, or if its content are large enough to need to use
+git-annex.
+
+# SEE ALSO
+
+[[git-annex]](1)
+
+[[git-annex-smudge]](1)
+
+# AUTHOR
+
+Joey Hess <id@joeyh.name>
+
+Warning: Automatically converted into a man page by mdwn2man. Edit with care.