summaryrefslogtreecommitdiff
path: root/doc/walkthrough/renaming_files.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/walkthrough/renaming_files.mdwn')
-rw-r--r--doc/walkthrough/renaming_files.mdwn6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/walkthrough/renaming_files.mdwn b/doc/walkthrough/renaming_files.mdwn
index 85964d1ea..7ae5f633c 100644
--- a/doc/walkthrough/renaming_files.mdwn
+++ b/doc/walkthrough/renaming_files.mdwn
@@ -11,3 +11,9 @@ Notice that, since annexed files are represented by symlinks,
the symlink will break when the file is moved into a subdirectory.
But, git-annex will fix this up for you when you commit --
it has a pre-commit hook that watches for and corrects broken symlinks.
+
+## Direct mode
+
+Note that these git commands only work when git-annex is using indirect mode. Repositories created by the [[assistant]] are in [[direct_mode]]. Running 'git mv' in direct mode will give you an error:
+
+ fatal: This operation must be run in a work tree