diff options
author | Joey Hess <joey@kitenet.net> | 2014-08-12 14:29:36 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-08-12 14:30:44 -0400 |
commit | eff5e6b302b14dac025ec31370203740b6eede4e (patch) | |
tree | 6d5a013c8a2dce7ebb1210c6d5c8f5538d81ac56 /doc/walkthrough/renaming_files.mdwn | |
parent | 4cc2dd17497f81369f0dbeaf0ba66ceb77acf2f3 (diff) |
maybe better note for direct mode, although I dislike the walkthrough being complicated by direct mode at all
Diffstat (limited to 'doc/walkthrough/renaming_files.mdwn')
-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.) |