Browse Source

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>
maint
Brandon Casey 17 years ago committed by Junio C Hamano
parent
commit
cf2756ae19
  1. 9
      Documentation/git-reflog.txt

9
Documentation/git-reflog.txt

@ -80,6 +80,15 @@ them. @@ -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.


Loading…
Cancel
Save