summaryrefslogtreecommitdiff
path: root/doc/git-annex-add.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/git-annex-add.mdwn')
-rw-r--r--doc/git-annex-add.mdwn47
1 files changed, 47 insertions, 0 deletions
diff --git a/doc/git-annex-add.mdwn b/doc/git-annex-add.mdwn
new file mode 100644
index 000000000..4ae0d1ce1
--- /dev/null
+++ b/doc/git-annex-add.mdwn
@@ -0,0 +1,47 @@
+# NAME
+
+git-annex add - adds files to the git annex
+
+# SYNOPSIS
+
+git annex add `[path ...]`
+
+# DESCRIPTION
+
+Adds files in the path to the annex. If no path is specified, adds
+files from the current directory and below.
+
+Normally, files that are already checked into git, or that git has been
+configured to ignore will be silently skipped.
+
+# OPTIONS
+
+* `--include-dotfiles`
+
+ Dotfiles are skipped unless explicitly listed, or unless this option is
+ used.
+
+* `--force`
+
+ Add gitignored files.
+
+* `--backend`
+
+ Specifies which key-value backend to use.
+
+* file matching options
+
+ Many of the [[git-annex-matching-options]](1)
+ can be used to specify files to add.
+
+ For example: `--largerthan=1GB`
+
+# SEE ALSO
+
+[[git-annex]](1)
+
+# AUTHOR
+
+Joey Hess <id@joeyh.name>
+
+Warning: Automatically converted into a man page by mdwn2man. Edit with care.