summaryrefslogtreecommitdiff
path: root/doc/git-annex-direct.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/git-annex-direct.mdwn')
-rw-r--r--doc/git-annex-direct.mdwn28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/git-annex-direct.mdwn b/doc/git-annex-direct.mdwn
new file mode 100644
index 000000000..9a9d66d9e
--- /dev/null
+++ b/doc/git-annex-direct.mdwn
@@ -0,0 +1,28 @@
+# NAME
+
+git-annex direct - switch repository to direct mode
+
+# SYNOPSIS
+
+git annex direct
+
+# DESCRIPTION
+
+Switches a repository to use direct mode, where rather than symlinks to
+files, the files are directly present in the repository.
+
+As part of the switch to direct mode, any changed files will be committed.
+
+Note that git commands that operate on the work tree will refuse to
+run in direct mode repositories. Use `git annex proxy` to safely run such
+commands.
+
+# SEE ALSO
+
+[[git-annex]](1)
+
+# AUTHOR
+
+Joey Hess <id@joeyh.name>
+
+Warning: Automatically converted into a man page by mdwn2man. Edit with care.