@matheusbsbs / matheus-bagliano / commits / cf2756ae19
Fork 0

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>

Brandon Casey committed Mar 2, 2008 at 14:58 UTC cf2756ae19e04a7c465ee7bb3b9b8ed4f7e45f28
1 file changed +9
Documentation/git-reflog.txt
+9
@@ -80,6 +80,15 @@ them.
80 --all::
81 Instead of listing <refs> explicitly, prune all refs.
82
83 +--updateref::
84 + Update the ref with the sha1 of the top reflog entry (i.e.
85 + <ref>@\{0\}) after expiring or deleting.
86 +
87 +--rewrite::
88 + While expiring or deleting, adjust each reflog entry to ensure
89 + that the `old` sha1 field points to the `new` sha1 field of the
90 + previous entry.
91 +
92 --verbose::
93 Print extra information on screen.
94