summaryrefslogtreecommitdiff
path: root/doc/direct_mode.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-11-07 14:40:34 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-11-07 14:40:34 -0400
commit8074d144968a29b8ad0f149c8f4265ea57080453 (patch)
tree2190aac54e77cf9abdd8583f42fc4d8403cf1caf /doc/direct_mode.mdwn
parent4fe478ed23a194c2bad4cddb45ae0435fb9b8f3b (diff)
update
Diffstat (limited to 'doc/direct_mode.mdwn')
-rw-r--r--doc/direct_mode.mdwn9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/direct_mode.mdwn b/doc/direct_mode.mdwn
index fc39956a3..749d3a6e2 100644
--- a/doc/direct_mode.mdwn
+++ b/doc/direct_mode.mdwn
@@ -69,8 +69,9 @@ direct mode.
As for git commands, direct mode prevents using any git command that would
modify or access the work tree. So you cannot `git commit` or `git pull`
-(use `git annex sync` for both instead), or run `git status`.
-These git commands will complain "fatal: This operation must be run in a work tree".
+(use `git annex sync` for both instead), or run `git status` (use `git
+annex status` instead). These git commands will complain "fatal: This
+operation must be run in a work tree".
The reason for this is that git doesn't understand how git-annex uses the
work tree in direct mode. Where git expects the symlinks that get checked
@@ -78,8 +79,8 @@ into git to be checked out in the work tree, direct mode instead replaces
them with the actual content of files, as managed by git-annex.
There are still lots of git commands you can use in direct mode. For
-example, you can run `git log` on files, run `git push`, `git config`,
-`git remote add` etc.
+example, you can run `git log` on files, run `git push`, `git fetch`,
+`git config`, `git remote add` etc.
## forcing git to use the work tree in direct mode