Skip to content

Commit

Permalink
git-reflog.txt: Document new commands --updateref and --rewrite
Browse files Browse the repository at this point in the history
Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Brandon Casey authored and Junio C Hamano committed Mar 3, 2008
1 parent 059f130 commit cf2756a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Documentation/git-reflog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit cf2756a

Please sign in to comment.