1git-annex-undo(1)           General Commands Manual          git-annex-undo(1)
2
3
4

NAME

6       git-annex-undo - undo last change to a file or directory
7

SYNOPSIS

9       git annex  [filename|directory] ...
10

DESCRIPTION

12       When  passed  a  filename, undoes the last change that was made to that
13       file.
14
15       When passed a directory, undoes the last change that was  made  to  the
16       contents of that directory.
17
18       Running  undo  a  second time will undo the undo, returning the working
19       tree to the same state it had before. To support  undoing  an  undo  of
20       staged changes, any staged changes are first committed by the undo com‐
21       mand.
22
23       Note that this does not undo get/drop of  a  file's  content;  it  only
24       operates on the file tree committed to git.
25

SEE ALSO

27       git-annex(1)
28
29       git-annex-add(1)
30

AUTHOR

32       Joey Hess <id@joeyh.name>
33
34                                                             git-annex-undo(1)
Impressum