aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-reflog.txt
diff options
context:
space:
mode:
authorBrandon Casey <drafnel@gmail.com>2008-03-02 14:58:50 -0600
committerJunio C Hamano <gitster@pobox.com>2008-03-03 01:20:59 -0800
commitcf2756ae19e04a7c465ee7bb3b9b8ed4f7e45f28 (patch)
tree52dad41c3be6da7fee156f7b46f19662f5355751 /Documentation/git-reflog.txt
parent059f13045aab9e22a3db2d53ee6abe4a08c4582c (diff)
downloadgit-cf2756ae19e04a7c465ee7bb3b9b8ed4f7e45f28.tar.gz
git-cf2756ae19e04a7c465ee7bb3b9b8ed4f7e45f28.tar.xz
git-reflog.txt: Document new commands --updateref and --rewrite
Signed-off-by: Brandon Casey <drafnel@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-reflog.txt')
-rw-r--r--Documentation/git-reflog.txt9
1 files changed, 9 insertions, 0 deletions
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 <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.