summaryrefslogtreecommitdiff
path: root/doc/walkthrough
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawnG_weCiH6IleQfVmRPmFJflHQMHdAcDkU <Edward@web>2014-07-25 07:57:21 +0000
committerGravatar admin <admin@branchable.com>2014-07-25 07:57:21 +0000
commite41e10ae40a860dec4001ac81f81f3bd81fed5ca (patch)
tree333fb7647113c808845bf471db0e682f6555b5d5 /doc/walkthrough
parent4d88f688420999224d2853198514f083ee7cf3e2 (diff)
add a note about direct mode
Diffstat (limited to 'doc/walkthrough')
-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