diff options
Diffstat (limited to 'doc/walkthrough')
-rw-r--r-- | doc/walkthrough/renaming_files.mdwn | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/walkthrough/renaming_files.mdwn b/doc/walkthrough/renaming_files.mdwn index 7ae5f633c..d18b7da64 100644 --- a/doc/walkthrough/renaming_files.mdwn +++ b/doc/walkthrough/renaming_files.mdwn @@ -12,8 +12,7 @@ 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 +(Note that if a repository is in direct mode, you can't run normal git +commands in it. Instead, just move the files using non-git commands, and +`git annex add` and `git annex sync`. This walkthrough does not make a +direct mode repository.) |