From e41e10ae40a860dec4001ac81f81f3bd81fed5ca Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawnG_weCiH6IleQfVmRPmFJflHQMHdAcDkU" Date: Fri, 25 Jul 2014 07:57:21 +0000 Subject: add a note about direct mode --- doc/walkthrough/renaming_files.mdwn | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/walkthrough/renaming_files.mdwn') 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 -- cgit v1.2.3