git-reflog.txt: Document new commands --updateref and --rewrite
authorBrandon Casey <drafnel@gmail.com>
Sun, 2 Mar 2008 20:58:50 +0000 (14:58 -0600)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Mar 2008 09:20:59 +0000 (01:20 -0800)
Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-reflog.txt

index 5719039841679926a7cf10845fdc83efbcf85612..047e3ce14dfac6f1848fa8f1772202c26efa1055 100644 (file)
@@ -80,6 +80,15 @@ them.
 --all::
        Instead of listing <refs> explicitly, prune all refs.
 
+--updateref::
+       Update the ref with the sha1 of the top reflog entry (i.e.
+       <ref>@\{0\}) after expiring or deleting.
+
+--rewrite::
+       While expiring or deleting, adjust each reflog entry to ensure
+       that the `old` sha1 field points to the `new` sha1 field of the
+       previous entry.
+
 --verbose::
        Print extra information on screen.