wrapping
This commit is contained in:
parent
d857e2104d
commit
1f19bd941e
1 changed files with 5 additions and 2 deletions
|
@ -106,11 +106,14 @@ with appropriate handling of the direct mode files.
|
||||||
|
|
||||||
## undoing changes in direct mode
|
## 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
|
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
|
## forcing git to use the work tree in direct mode
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue