diff options
author | 2015-03-23 15:36:10 -0400 | |
---|---|---|
committer | 2015-03-23 15:36:10 -0400 | |
commit | 90c35465528195367cc4ed1e15478285d7b063f3 (patch) | |
tree | fc658fb5d483ad673d82bfa5c3d00bc4a7c2d5ef /doc/git-annex-undo.mdwn | |
parent | 052e77469015e82ca33733388ff5740fa06312e2 (diff) |
splitting up the man page
Common command man pages all split out and often expanded.
A few sections split out into their own pages.
Still need to do all the other commands..
Diffstat (limited to 'doc/git-annex-undo.mdwn')
-rw-r--r-- | doc/git-annex-undo.mdwn | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/git-annex-undo.mdwn b/doc/git-annex-undo.mdwn new file mode 100644 index 000000000..391b373bf --- /dev/null +++ b/doc/git-annex-undo.mdwn @@ -0,0 +1,33 @@ +# NAME + +git-annex undo - undo last change to a file or directory + +# SYNOPSIS + +git annex `[filename|directory] ...` + +# DESCRIPTION + +When passed a filename, undoes the last change that was made to that +file. + +When passed a directory, undoes the last change that was made to the +contents of that directory. + +Running undo a second time will undo the undo, returning the working +tree to the same state it had before. In order for undoing an undo of +staged changes, any staged changes are first committed by the +undo command. + +Note that this does not undo get/drop of a file's content; it only +operates on the file tree committed to git. + +# SEE ALSO + +[[git-annex]](1) + +# AUTHOR + +Joey Hess <id@joeyh.name> + +Warning: Automatically converted into a man page by mdwn2man. Edit with care. |