From cf2756ae19e04a7c465ee7bb3b9b8ed4f7e45f28 Mon Sep 17 00:00:00 2001 From: Brandon Casey Date: Sun, 2 Mar 2008 14:58:50 -0600 Subject: [PATCH] git-reflog.txt: Document new commands --updateref and --rewrite Signed-off-by: Brandon Casey Signed-off-by: Junio C Hamano --- Documentation/git-reflog.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/git-reflog.txt b/Documentation/git-reflog.txt index 571903984..047e3ce14 100644 --- a/Documentation/git-reflog.txt +++ b/Documentation/git-reflog.txt @@ -80,6 +80,15 @@ them. --all:: Instead of listing explicitly, prune all refs. +--updateref:: + Update the ref with the sha1 of the top reflog entry (i.e. + @\{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. -- 2.30.2