maybe better note for direct mode, although I dislike the walkthrough being complicated by direct mode at all
This commit is contained in:
parent
b09c02b4f9
commit
4ae25032c6
1 changed files with 4 additions and 5 deletions
|
@ -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.)
|
||||
|
|
Loading…
Reference in a new issue