diff --git a/doc/direct_mode.mdwn b/doc/direct_mode.mdwn index d22c2ba5e4..17f47011bc 100644 --- a/doc/direct_mode.mdwn +++ b/doc/direct_mode.mdwn @@ -106,11 +106,14 @@ with appropriate handling of the direct mode files. ## undoing changes in direct mode -There is also the `undo` command to do the equivalent of the above revert in a simpler way. Say you made a change in direct mode, the assistant dutifully committed it and you realise your mistake, you can try: +There is also the `undo` command to do the equivalent of the above revert +in a simpler way. Say you made a change in direct mode, the assistant +dutifully committed it and you realise your mistake, you can try: git annex undo file -to revert the last change to `file`. Note that you can use the `--depth` flag to revert earlier versions of the file. +to revert the last change to `file`. Note that you can use the `--depth` +flag to revert earlier versions of the file. ## forcing git to use the work tree in direct mode